OSDN Git Service

pf3gnuchains/gcc-fork.git
21 years ago * config/c4x/c4x.md (UNSPEC_BU): New constants.
m.hayes [Sat, 25 Jan 2003 00:35:36 +0000 (00:35 +0000)]
* config/c4x/c4x.md (UNSPEC_BU): New constants.
(UNSPEC_RPTS, UNSPEC_LSH, UNSPEC_CMPHI, UNSPEC_RCPF): Likewise.
(UNSPEC_RND, UNSPEC_RPTB_FILL, UNSPEC_LOADHF_INT): Likewise.
(UNSPEC_STOREHF_INT, UNSPEC_RSQRF, UNSPEC_LOADQF_INT): Likewise.
(UNSPEC_STOREQF_INT, UNSPEC_LDIV, UNSPEC_PUSH_ST):  Likewise.
(UNSPEC_POP_ST, UNSPEC_PUSH_DP, UNSPEC_POP_DP):  Likewise.
(UNSPEC_POPQI, UNSPEC_POPQF, UNSPEC_ANDN_ST):  Likewise.
(UNSPEC_RPTB_INIT, UNSPEC_TOIEEE, UNSPEC_FRIEEE):  Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61754 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Sat, 25 Jan 2003 00:17:05 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61753 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * MAINTAINERS: Remove incorrect entry for Paul Eggert. Fix
gerald [Fri, 24 Jan 2003 23:31:41 +0000 (23:31 +0000)]
* MAINTAINERS: Remove incorrect entry for Paul Eggert.  Fix
entry of HJ Lu.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61746 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* configure.in: Remove special pex-cygwin consideration.
dj [Fri, 24 Jan 2003 23:23:18 +0000 (23:23 +0000)]
* configure.in: Remove special pex-cygwin consideration.
* configure: Regenerate.
* pex-cygwin.c: Remove.
* Makefile.in: Remove pex-cygwin.[co] lines.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61744 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-01-24 Paolo Carlini <pcarlini@unitus.it>
paolo [Fri, 24 Jan 2003 23:14:28 +0000 (23:14 +0000)]
2003-01-24  Paolo Carlini  <pcarlini@unitus.it>

* g++.dg/parse/undefined1.C: Add error message.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61742 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * emit-rtl.c (reg_attrs_htab): New static variable.
hubicka [Fri, 24 Jan 2003 22:45:58 +0000 (22:45 +0000)]
* emit-rtl.c (reg_attrs_htab): New static variable.
(reg_attrs_htab_hash, reg_attrs_htab_eq, get_reg_attrs): New static
functions.
(reg_rtx): Do not maintain regno_decl.
(gen_rtx_REG_offset, set_reg_attrs_from_mem, set_delc_rtx,
set_mem_attrs_from_reg): New global function.
(init_emit): Do not initialize regno_decl.
(init_emit_once): initialize reg_attrs_htab.
* final.c (alter_subreg): Do not replace REG by SUBREG.
(gen_mem_expr_from_op): Improve output.
(output_asm_operands): Likewise.
* function.c (assign_params): Do not set REGNO_DECL.
* function.h (struct function): Kill regno_decl.
(REGNO_DECL): Kill.
* gengtype.c (adjust_field_rtx_def): Handle new field of reg.
* print_rtl.c (print_rtx): Output REG information.
* regclass.c (reg_scan_mark_refs): Update attrs.
* reload1.c (alter_reg): Likewise.
* simplify_rtx.c (simplify_subreg): Likewise.
* stmt.c (expand_decl): Likewise.
* rtl.def (REG): Add new field.
* rtl.h (struct reg_attrs): New.
(rtunion_def): At rtreg.
(X0MEMATTR): Add checking.
(X0REGATTR, REG_ATTRS, REG_EXPR, REG_OFFSET): New macro.
(set_reg_attrs_from_mem, set_mem_attrs_from_reg, gen_rtx_REG_offset):
Declare.
* tree.h (SET_DECL_RTL): Call set_decl_rtl.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61741 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/xtensa/xtensa.c: Remove unused include of machmode.h.
bwilson [Fri, 24 Jan 2003 22:09:05 +0000 (22:09 +0000)]
    * config/xtensa/xtensa.c: Remove unused include of machmode.h.
        (xtensa_emit_call, print_operand): Fix printf format strings
        to avoid compile warnings.
        (xtensa_function_prologue, xtensa_function_epilogue): Change type
        of "size" argument to HOST_WIDE_INT to fix compile warnings.
        * config/xtensa/xtensa-protos.h
        (xtensa_function_prologue, xtensa_function_epilogue): Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61739 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * builtins.c (DEF_BUILTIN): Accept 10 arguments.
hubicka [Fri, 24 Jan 2003 22:07:01 +0000 (22:07 +0000)]
* builtins.c (DEF_BUILTIN): Accept 10 arguments.
(implicit_built_in_decls): New global array.
(mathfn_built_in): New global function.
(fold_trunc_transparent_mathfn): New static function
(expand_builtin_strstr, expand_bultin_strchr,
expand_builtin_strpbrk, expand_builtin_strcpy,
expand_builtin_strncpy, expand_bultin_strcmp,
expand_bultin_strncat, expand_builtin_fputs): Use
implicint_built_in_decls.
(fold_builtin): Fold floor/trunc/round/ceil/nearbyint.
* builtins.def: Fix comments.
(DEF_GCC_BUILTIN, DEF_FALLBACK_BUILTIN, DEF_EXT_FALLBACK_BUILTIN,
DEF_LIB_BUILTIN, DEF_LIB_ALWAYS_BUILTIN, DEF_EXT_LIB_BUILTIN,
DEF_C99_BULTIN, DEF_FRONT_END_LIB_BUILTIN,
DEF_EXT_FRONT_END_LIB_BUILTIN): Pass implicit as needed.
(DEF_C99_C90RES_BULTIN): New.
(*f, *l builtins): Update.
* c-common.c (DEF_BUILTIN): Initialize implicit array.
(c_expand_builtin_printf, c_expand_builtin_fprintf): Update.
* convert.c (strip_float_extensions): New global function.
* tree.h (DEF_BUILTIN): Accept 10 arguments.
(implicit_built_in_decls, mathfn_built_in, strip_float_extension):
Declare.
* java/builtins.c (define_builtin): Handle implicit.
(DEF_BUILTIN): Update.
* tm.texi (TARGET_C99_FUNCTIONS): Document.
* defaults.h (TARGET_C99_FUNCTIONS): Default to 0.
* config/linux.h (TARGET_C99_FUNCTIONS): Default to 1
when using glibc2.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61738 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-01-24 Ranjit Mathew <rmathew@hotmail.com>
tromey [Fri, 24 Jan 2003 21:57:00 +0000 (21:57 +0000)]
2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>

Fixes PR java/9253:
* java/io/natFileWin32.cc (performList): Append only "*.*"
if the canonical file path already has a "\" at the end.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61736 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config.gcc (xtensa-*-elf*): Removed assignments to with_newlib,
bwilson [Fri, 24 Jan 2003 21:51:03 +0000 (21:51 +0000)]
    * config.gcc (xtensa-*-elf*): Removed assignments to with_newlib,
        extra_parts, and fixincludes.  Add xtensa/t-elf tmake_file.
        (xtensa-*-linux*): Add xtensa/t-linux tmake_file.
        * config/xtensa/crti.asm: New file.
        * config/xtensa/crtn.asm: New file.
        * config/xtensa/t-elf: New file.
        * config/xtensa/t-linux: New file.
        * config/xtensa/t-xtensa: Add rules for crti.o and crtn.o.
        Move various CFLAGS settings to new t-elf file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61735 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR optimization/4382
rth [Fri, 24 Jan 2003 21:16:28 +0000 (21:16 +0000)]
    PR optimization/4382
        * tree-inline.c (find_builtin_longjmp_call_1): New.
        (find_builtin_longjmp_call): New.
        (inlinable_function_p): Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61732 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/i386/i386-protos.h (function_arg_pass_by_reference): Declare.
rakdver [Fri, 24 Jan 2003 20:48:47 +0000 (20:48 +0000)]
* config/i386/i386-protos.h (function_arg_pass_by_reference): Declare.
* config/i386/i386.h (FUNCTION_ARG_PASS_BY_REFERENCE): Use it.
* config/i386/i386.c (function_arg_pass_by_reference): New.
(ix86_va_arg): Support arguments passed by reference.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61731 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cfgloopanal.c: New file.
rakdver [Fri, 24 Jan 2003 20:27:02 +0000 (20:27 +0000)]
* cfgloopanal.c: New file.
* cfgloopmanip.c: New file.
* Makefile.in (cfgloopanal.o, cfgloopmanip.o): New.
(toplev.o, loop.o, doloop.o, unroll.o, cfgloop.o, predict.o,
cfglayout.o): Add dependency on cfgloop.h.
(cfgloop.o): Add flags.h dependency.
* basic-block.h (BB_IRREDUCIBLE_LOOP, BB_SUPERBLOCK): New flags.
(VLS_EXPECT_PREHEADERS, VLS_EXPECT_SIMPLE_LATCHES): Removed.
(struct loop, struct loops, flow_loops_find, flow_loops_update,
flow_loops_free, flow_loops_dump, flow_loop_dump,
flow_loop_scan, flow_loop_tree_node_add, flow_loop_tree_node_remove,
LOOP_TREE,,LOOP_PRE_HEADER, LOOP_ENTRY_EDGES, LOOP_EXIT_EDGES,
LOOP_ALL, flow_loop_outside_edge_p, flow_loop_nested_p,
flow_bb_inside_loop_p, get_loop_body, loop_preheader_edge,
loop_latch_edge, add_bb_to_loop, remove_bb_from_loops,
find_common_loop, verify_loop_structure): Declarations moved to ...
* cfgloop.h: New file.
* bb-reorder.c (reorder_basic_blocks): Modified.
* cfglayout.c: Include cfgloop.h.
(cleanup_unconditional_jumps, cfg_layout_redirect_edge,
cfg_layout_duplicate_bb, cfg_layout_initialize): Update loop structure.
(break_superblocks): New static function.
(cfg_layout_finalize): Use it.
(cfg_layout_split_block): New function.
* cfglayout.h (struct reorder_block_def): Add copy and duplicated
fields.
(cfg_layout_initialize, cfg_layout_redirect_edge): Declaration
changed.
(cfg_layout_split_block): Declare.
* cfgloop.c: Include cfgloop.h and flags.h.
(flow_loop_dump, flow_loops_free, flow_loop_exit_edges_find,
get_loop_body): Avoid signed versus unsigned comparison warnings.
(make_forwarder_block, flow_loops_find, loop_preheader_edge,
loop_latch_edge): Modified.
(verify_loop_structure): Modified to use flags stored in loop structure;
check irreducible loops.
(cancel_loop, cancel_loop_tree): New functions.
(estimate_probability): Use loop analysis code for predictions.
(estimate_loops_at_level):  Avoid signed versus unsigned comparison
warnings.
* doloop.c: Include cfgloop.h.
* loop.c: Include cfgloop.h.
* predict.c: Include cfgloop.h.
* toplev.c: Include cfgloop.h.
* unroll.c: Include cfgloop.h.
* tracer.c (tracer): Modified.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61730 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * Makefile.in (CFILES): Add pex-*.c.
zack [Fri, 24 Jan 2003 20:02:11 +0000 (20:02 +0000)]
* Makefile.in (CFILES): Add pex-*.c.
(REQUIRED_OFILES): Change pexecute.o to @pexecute@
(CONFIGURED_OFILES): Add pex-*.o.
(TEXIFILES): Add pexecute.txh.
(pexecute.o): Delete rule.
(pex-cygwin.o, pex-djgpp.o, pex-mpw.o, pex-msdos.o, pex-os2.o,
pex-unix.o, pex-win32.o): New rules.
* configure.in: Change AC_INIT argument to xmalloc.c.
Compute appropriate pexecute implementation and substitute it
as @pexecute@.

* pexecute.c: Split up into...
* pex-cygwin.c, pex-djgpp.c, pex-mpw.c, pex-msdos.c, pex-os2.c,
pex-unix.c, pex-win32.c, pex-common.h, pexecute.txh: ... these
new files.

* functions.texi: Regenerate.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61728 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * defineclass.cc (handleMethodsEnd): Precompute code for static
tromey [Fri, 24 Jan 2003 19:58:21 +0000 (19:58 +0000)]
* defineclass.cc (handleMethodsEnd): Precompute code for static
method.
(handleCodeAttribute): Likewise.
* resolve.cc (ncode): Use run_class for unsynchronized static
methods.
* include/java-interp.h (class _Jv_InterpMethod): Declare
run_class.
* interpret.cc (run_synch_class): Initialize class.
(run) [insn_invokestatic]: Don't initialize class.
[insn_anewarray]: Likewise.
[insn_multianewarray]: Likewise.
(run_class): New function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61727 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
tromey [Fri, 24 Jan 2003 19:37:17 +0000 (19:37 +0000)]
* java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61725 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * class.c (build_static_field_ref): Only a String or numeric field
tromey [Fri, 24 Jan 2003 17:44:03 +0000 (17:44 +0000)]
* class.c (build_static_field_ref): Only a String or numeric field
can fold to a constant.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61723 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-01-24 Ranjit Mathew <rmathew@hotmail.com>
tromey [Fri, 24 Jan 2003 17:39:49 +0000 (17:39 +0000)]
2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>

* libjava.jni/calls.c (Java_calls_docall): Define with
JNIEXPORT and JNICALL method attributes.
* libjava.jni/field.c (Java_field_fetch): Likewise.
* libjava.jni/final_method.c (Java_final_1method_meth): Likewise.
* libjava.jni/findclass.c (Java_findclass_doit): Likewise.
* libjava.jni/invoke.c (Java_invoke_val): Likewise.
* libjava.jni/martin.c (Java_martin_myNative): Likewise.
* libjava.jni/noclass.c (Java_noclass_find_1it): Likewise.
* libjava.jni/overload.c (Java_overload_over__I): Likewise.
(Java_overload_over__II): Likewise.
* libjava.jni/register.c (JNI_OnLoad): Likewise.
* libjava.jni/simple_int.c (Java_simple_1int_nat): Likewise.
* libjava.jni/throwit.c (Java_throwit_throwit): Likewise.
* libjava.jni/virtual.c (Java_virtual_equals): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61720 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/h8300/h8300.c (get_shift_alg): Fix a typo.
kazu [Fri, 24 Jan 2003 17:19:47 +0000 (17:19 +0000)]
* config/h8300/h8300.c (get_shift_alg): Fix a typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61718 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agomissing changelog entry
nathan [Fri, 24 Jan 2003 17:17:05 +0000 (17:17 +0000)]
missing changelog entry

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61717 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * configure.in (HAVE_AS_TLS): Add s390-*-* and s390x-*-* cases.
uweigand [Fri, 24 Jan 2003 17:10:22 +0000 (17:10 +0000)]
* configure.in (HAVE_AS_TLS): Add s390-*-* and s390x-*-* cases.
* configure: Regenerate.

* config/s390/s390-protos.h (tls_symbolic_operand): Add prototype.
(tls_symbolic_reference_mentioned_p): Add prototype.
(s390_tls_get_offset): Add prototype.
(emit_pic_move): Remove prototype, replace by ...
(emit_symbolic_move): .. this new prototype.

* config/s390/s390.c (TARGET_HAVE_TLS): Conditionally define.
(tls_model_chars): New global variable.
(s390_encode_section_info): Encode TLS model.
Use targetm.binds_local_p to check for local symbols.
(s390_strip_name_encoding): New function.
(TARGET_STRIP_NAME_ENCODING): Define.

(get_thread_pointer): New function.
(legitimize_tls_address): New function.
(legitimize_address): Call it.
(emit_pic_move): Remove, replace by ...
(emit_symbolic_move): ... this new function.

(larl_operand): Handle TLS operands.
(legitimate_constant_p): Likewise.
(s390_decompose_address): Likewise.
(s390_cannot_force_const_mem): New function.
(TARGET_CANNOT_FORCE_CONST_MEM): Define.

(s390_output_symbolic_const): Handle TLS unspecs.
(print_operand): New code 'J'.
(machine_function): Add struct member 'some_ld_name'.
(get_some_local_dynamic_name, get_some_local_dynamic_name_1): New.

(enum s390_builtin): New type.
(code_for_builtin_64, code_for_builtin_31): New global variables.
(s390_init_builtins, s390_expand_builtin): New functions.
(TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN): Define.

* config/s390/s390.h (TLS_SYMBOLIC_CONST): New macro.
(ASM_OUTPUT_LABELREF): Define.
(ASM_OUTPUT_SPECIAL_POOL_ENTRY): Handle TLS constants.

* config/s390/s390.md: Define TLS UNSPEC constants.
("movdi", "movsi"): Handle TLS operands.
("get_tp_64", "get_tp_31", "set_tp_64", "set_tp_31"): New insns.
("*tls_load_64", "*tls_load_31"): New insns.
("call_value_tls", "call_value_tls_exp"): New expanders.
("brasl_tls", "bras_tls", "basr_tls_64", "basr_tls_31",
"bas_tls_64", "bas_tls_31"): New insns.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61714 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/linker-map.gnu: Fix for size_t variance.
schwab [Fri, 24 Jan 2003 17:01:25 +0000 (17:01 +0000)]
* config/linker-map.gnu: Fix for size_t variance.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61713 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/rs6000/rs6000.c (rs6000_parse_abi_options): Make sure
nathan [Fri, 24 Jan 2003 16:54:23 +0000 (16:54 +0000)]
* config/rs6000/rs6000.c (rs6000_parse_abi_options): Make sure
spe ABI is configured, if requested.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61712 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * doc/passes.texi: Fix typo.
reichelt [Fri, 24 Jan 2003 16:43:40 +0000 (16:43 +0000)]
* doc/passes.texi: Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61708 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * stor-layout.c (excess_unit_span): Only define if used.
schwab [Fri, 24 Jan 2003 16:32:16 +0000 (16:32 +0000)]
* stor-layout.c (excess_unit_span): Only define if used.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61707 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * include/bits/valarray_meta.h: Remove, split into ...
nathan [Fri, 24 Jan 2003 16:32:11 +0000 (16:32 +0000)]
* include/bits/valarray_meta.h: Remove, split into ...
* include/bits/valarray_before.h: ... this, and ...
* include/bits/valarray_after.h: ... this.
* include/std/std_valarray.h: Adjust.
* include/Makefile.am (bits_headers): Adjust.
* include/Makefile.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61706 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * ada-tree.h (SET_TYPE_DIGITS_VALUE): Add intermediate cast to
schwab [Fri, 24 Jan 2003 16:30:17 +0000 (16:30 +0000)]
* ada-tree.h (SET_TYPE_DIGITS_VALUE): Add intermediate cast to
size_t to avoid warning.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61705 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gcc/doc/invoke.texi (Optimization Options): List -O levels
gerald [Fri, 24 Jan 2003 16:08:41 +0000 (16:08 +0000)]
* gcc/doc/invoke.texi (Optimization Options): List -O levels
for each optimization flag.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61704 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/h8300/h8300.md (*andsi3_ashift_n_lower): New.
kazu [Fri, 24 Jan 2003 16:03:14 +0000 (16:03 +0000)]
* config/h8300/h8300.md (*andsi3_ashift_n_lower): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61702 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * doc/bugreport.texi: Use @command instead of @code for commands.
reichelt [Fri, 24 Jan 2003 15:57:41 +0000 (15:57 +0000)]
* doc/bugreport.texi: Use @command instead of @code for commands.
* doc/collect2.texi: Likewise.
* doc/headerdirs.texi: Likewise.
* doc/invoke.texi: Likewise.
* doc/standards.texi: Likewise.
* doc/tm.texi: Likewise.
* doc/trouble.texi: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61701 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* config/arm/arm.c (use_return_insn): Do not use a single return instruction
nickc [Fri, 24 Jan 2003 15:50:44 +0000 (15:50 +0000)]
* config/arm/arm.c (use_return_insn): Do not use a single return instruction
for interrupt handelrs which have to create a stack frame.
(arm_expand_prologue): Do not pre-bias the return address of interrupt handlers
which create a stack frame.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61698 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoAdd sh2e support:
nickc [Fri, 24 Jan 2003 15:45:53 +0000 (15:45 +0000)]
Add sh2e support:
    2002-08-12  Alexandre Oliva  <aoliva@redhat.com>

        * config/sh/sh.c (output_branch) [TARGET_SH2E]: Handle
        med_cbranches.  Fix logic in short_cbranches.

    2002-04-03  Alexandre Oliva  <aoliva@redhat.com>

        * config/sh/sh.md (delay for cbranch): Don't annul delay
        slots on SH2e.
        * config/sh/sh.c (sh_insn_length_adjustment): Add 2 for
        cbranch with unfilled delay slot on SH2e.
        (output_branch): Fill with a nop the delay slot of a
        branch that required a delay slot but didn't get one.

    2002-04-02  Alexandre Oliva  <aoliva@redhat.com>

        * doc/invoke.texi (SH options): Document -m2e.
        * config/sh/crt1.asm: Add __SH2E__ Next to __SH3E__.
        * config/sh/lib1funcs.asm: Likewise.
        * config/sh/sh.c: Replace all uses of TARGET_SH3E with SH2E.
        * config/sh/sh.h (CPP_SPEC): Define __SH2E__ for -m2e, and
        not __sh1__.
        (CONDITIONAL_REGISTER_USAGE): Don't disable FP regs from
        SH2E up.
        (SH3E_BIT): Renamed to...
        (SH_E_BIT): ... this.  Replace all uses.
        (TARGET_SH2E): Define from SH_E_BIT and TARGET_SH2.
        Replace all uses of TARGET_SH3E with TARGET_SH2E.
        (TARGET_SWITCHES): Added 2e.
        (OVERRIDE_OPTIONS): Set sh_cpu for SH2E.
        (processor_type): Added PROCESSOR_SH2E.
        * config/sh/sh.md: Replace all uses of TARGET_SH3E with
        TARGET_SH2E, except in sqrtsf2_i.
        (attribute cpu): Added sh2e.
        * config/sh/t-sh (MULTILIB_OPTIONS): Replace m3e with m2e.
        (MULTILIB_MATCHES): Use m2e multilib for m3e.
        * config.gcc: Add sh2e target support.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61697 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-01-24 Phil Edwards <pme@gcc.gnu.org>
pme [Fri, 24 Jan 2003 15:17:26 +0000 (15:17 +0000)]
2003-01-24  Phil Edwards  <pme@gcc.gnu.org>

Rename -W to -Wextra.
* c-decl.c:  Update comments.
* c-typeck.c:  Likewise.
* flags.h:  Likewise.
* function.c:  Likewise.
* stmt.c:  Likewise.
* toplev.c:  Update comments.
(W_options):  Add 'extra'.
(display_help):  Remove '-W'.
(decode_W_option):  Special warn_uninitialized treatment in the case
of -Wextra.
* doc/invoke.texi:  Update with new entries.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61696 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * ifcvt.c (noce_process_if_block): Re-add check vs X being changed
rth [Fri, 24 Jan 2003 02:59:58 +0000 (02:59 +0000)]
    * ifcvt.c (noce_process_if_block): Re-add check vs X being changed
        in no-else-block case.  Add commentary.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61695 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * jcf-parse.c (parse_zip_file_entries): Overwrite trailing \0 of
tromey [Fri, 24 Jan 2003 02:37:34 +0000 (02:37 +0000)]
* jcf-parse.c (parse_zip_file_entries): Overwrite trailing \0 of
file name in resource buffer.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61694 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * configure.in: Revert last change.
ghazi [Fri, 24 Jan 2003 02:26:04 +0000 (02:26 +0000)]
* configure.in: Revert last change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61693 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * ChangeLog (configure.in): Don't include ansidecl.h in tconfig.h.
ghazi [Fri, 24 Jan 2003 01:46:50 +0000 (01:46 +0000)]
* ChangeLog (configure.in): Don't include ansidecl.h in tconfig.h.
* gcov-io.h (PARAMS, ATTRIBUTE_UNUSED: Define if IN_LIBGCC2.
* unwind-dw2-fde.h (last_fde): Use __attribute__, not
ATTRIBUTE_UNUSED.

* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61692 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * dump.c: ANSIfy function declarations and definitions.
neroden [Fri, 24 Jan 2003 00:45:55 +0000 (00:45 +0000)]
* dump.c: ANSIfy function declarations and definitions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61691 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoNo, really this time.
neroden [Fri, 24 Jan 2003 00:39:39 +0000 (00:39 +0000)]
No, really this time.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61689 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Fri, 24 Jan 2003 00:17:07 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61688 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-01-23 Petur Runolfsson <peturr02@ru.is>
bkoz [Thu, 23 Jan 2003 22:53:35 +0000 (22:53 +0000)]
2003-01-23  Petur Runolfsson  <peturr02@ru.is>

PR libstdc++/9322
* include/std/std_streambuf.h
(basic_streambuf::basic_streambuf,
basic_streambuf::~basic_streambuf,
basic_streambuf::getloc, basic_streambuf::imbue):
Remove _M_buf_locale_init use.
* include/bits/fstream.tcc (basic_filebuf::imbue):  Likewise
* testsuite/27_io/filebuf_virtuals.cc (test08):  Add.
* testsuite/27_io/streambuf_members.cc (test08):  Add.
* testsuite/27_io/stringbuf_virtuals.cc (test08):  Add.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61678 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-01-23 Nathanael Nerode <neroden@gcc.gnu.org>
neroden [Thu, 23 Jan 2003 22:32:25 +0000 (22:32 +0000)]
2003-01-23  Nathanael Nerode  <neroden@gcc.gnu.org>

* configure.in: Revert previous change.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61676 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-01-23 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
sirl [Thu, 23 Jan 2003 22:28:48 +0000 (22:28 +0000)]
2003-01-23  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

PR java/6748
* config/rs6000/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Don't destroy
regs->nip. Fix rt_sigreturn frame layout. Add support for newer
kernels.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61675 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * expr.c (build_known_method_ref): Use method's context to find
tromey [Thu, 23 Jan 2003 21:19:50 +0000 (21:19 +0000)]
* expr.c (build_known_method_ref): Use method's context to find
method table index.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61670 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cp-tree.h, decl.h: Get rid of PARAMS. Again.
neroden [Thu, 23 Jan 2003 20:22:16 +0000 (20:22 +0000)]
* cp-tree.h, decl.h: Get rid of PARAMS.  Again.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61669 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-01-23 Nathanael Nerode <neroden@gcc.gnu.org>
neroden [Thu, 23 Jan 2003 19:56:00 +0000 (19:56 +0000)]
2003-01-23  Nathanael Nerode  <neroden@gcc.gnu.org>

* configure.in: Make rda native-only.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61668 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cpplex.c (cpp_interpret_charconst): Squelch warning with cast.
ghazi [Thu, 23 Jan 2003 19:51:16 +0000 (19:51 +0000)]
* cpplex.c (cpp_interpret_charconst): Squelch warning with cast.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61667 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * genattrtab.c (write_attr_get): Mark 'insn' paramter
uweigand [Thu, 23 Jan 2003 19:41:52 +0000 (19:41 +0000)]
* genattrtab.c (write_attr_get): Mark 'insn' paramter
as ATTRIBUTE_UNUSED.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61666 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 23 Jan 2003 18:56:00 +0000 (18:56 +0000)]
2003-01-23  Benjamin Kosnik  <bkoz@redhat.com>

Revert include ordering.
* config/locale/generic/c_locale.h: Add include guards.
* config/locale/gnu/c_locale.h: Same.
* include/bits/locale_classes.h: Remove cctype include.
* include/std/std_iosfwd.h: Add c++locale.h, cctype includes.
* include/std/std_fstream.h: Remove streambuf include.
* include/std/std_sstream.h: Remove streambuf include.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61664 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoduplicate not dumplicate.
rearnsha [Thu, 23 Jan 2003 18:16:19 +0000 (18:16 +0000)]
duplicate not dumplicate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61663 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* arm.c (thumb_base_register_rtx_p): New function.
rearnsha [Thu, 23 Jan 2003 18:10:46 +0000 (18:10 +0000)]
* arm.c (thumb_base_register_rtx_p): New function.
(thumb_index_register_rtx_p): New function.
(thumb_legitimate_address_p): New function.
(thumb_legitimate_offset_p): New function.
* arm.h (REG_STRICT_P): Define according to setting of REG_OK_STRICT.
(ARM_GO_IF_LEGITIMATE_ADDRESS): Use REG_STRICT_P to avoid dumplicate
definitions.
(THUMB_GO_IF_LEGITIMATE_ADDRESS): Use thumb_legitimate_address_p.
(THUMB_LEGITIMATE_OFFSET): Delte.
(THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use thumb_legitimate_offset.
* arm-protos.h (thumb_legitimate_address_p): Add prototype.
(thumb_legitimate_offset_p): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61662 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * constants.c (set_constant_entry): Allocated cleared memory.
tromey [Thu, 23 Jan 2003 17:40:42 +0000 (17:40 +0000)]
* constants.c (set_constant_entry): Allocated cleared memory.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61661 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * unwind.h (_Unwind_GetTextRelBase): Mark parameter as unused.
schwab [Thu, 23 Jan 2003 17:22:53 +0000 (17:22 +0000)]
* unwind.h (_Unwind_GetTextRelBase): Mark parameter as unused.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61659 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 23 Jan 2003 17:21:11 +0000 (17:21 +0000)]
2003-01-23  Benjamin Kosnik  <bkoz@redhat.com>

* configure.in (libtool_VERSION): To 6:0:0.
* configure: Regenerated.
* config/linker-map.gnu: Clean.

* src/misc-inst.cc: Remove instantiations.

* include/bits/stl_alloc.h (__malloc_alloc_template):
To __malloc_alloc.
(__default_alloc_template): To __pool_alloc.
* src/stl-inst.cc: Same.
* include/backward/alloc.h: Update.
* testsuite/ext/allocators.cc: Update.

* src/globals.cc (__gnu_cxx): Remove _GLIBCPP_ASM_SYMVER. Should
really try to remove these if possible.
* src/locale.cc (std): Same.

* testsuite/abi_check.cc (check_version): Add.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61658 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * fixinc/Makefile.in (FL_LIST): Revert last change.
ghazi [Thu, 23 Jan 2003 16:38:37 +0000 (16:38 +0000)]
* fixinc/Makefile.in (FL_LIST): Revert last change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61655 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR other/7341
reichelt [Thu, 23 Jan 2003 10:14:34 +0000 (10:14 +0000)]
PR other/7341
* invoke.texi (ftest-coverage): Fix broken cross-reference.
Change @code to @command for gcov command.

* gcc.texi: Adjust title of gcov section.
Adjust copyright.
* gcov.texi: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61651 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR c++/9354
mmitchel [Thu, 23 Jan 2003 06:05:20 +0000 (06:05 +0000)]
PR c++/9354
* init.c (build_new): Set the type of the new-expression, even
when processing_templte_decl.

PR c++/9216
* parser.c (cp_parser_primary_expression): Improve error message
for templates used in an expression context.

PR c++/8696
* parser.c (cp_parser_decl_specifier_seq): Commit to tentative
parse when encountering "typedef".

PR c++/9354
* g++.dg/parse/new1.C: New test.

PR c++/9216
* g++.dg/parse/template2.C: New test.

PR c++/9354
* g++.dg/parse/typedef2.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61643 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR optimization/8423
sayle [Thu, 23 Jan 2003 02:57:26 +0000 (02:57 +0000)]
PR optimization/8423
* cse.c (fold_rtx): Only eliminate a CONSTANT_P_RTX to 1 when
its argument is constant, or 0 if !flag_gcse.
* simplify-rtx.c (simplify_rtx): Convert CONSTANT_P_RTX to 1
if it's argument is constant.
* gcse.c (want_to_gcse_p): Ignore CONSTANT_P_RTX nodes.
(hash_scan_set): Don't record CONSTANT_P_RTX expressions.
(do_local_cprop): Don't propagate CONSTANT_P_RTX constants.
* builtins.c (purge_builtin_constant_p): New function to force
instantiation of any remaining CONSTANT_P_RTX nodes.
* rtl.h (purge_builtin_constant_p): Prototype here.
* toplev.c (rest_of_compilation): Invoke purge_builtin_constant_p
pass after GCSE and before loop.
(flag_gcse): No longer static.
* flags.h (flag_gcse): Prototype here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61642 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-01-22 Nathanael Nerode <neroden@gcc.gnu.org>
neroden [Thu, 23 Jan 2003 02:47:51 +0000 (02:47 +0000)]
2003-01-22  Nathanael Nerode  <neroden@gcc.gnu.org>

* class.c, parser.c: ANSIfy function definitions and declarations.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61641 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * java-tree.h: Don't use PARAMS.
tromey [Thu, 23 Jan 2003 02:38:57 +0000 (02:38 +0000)]
* java-tree.h: Don't use PARAMS.
* resource.c: Add prototypes for all functions.
(write_resource_constructor): Use `const char *' to avoid
warning.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61640 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/s390/s390.h (HARD_REGNO_MODE_OK): Fix warning regression
uweigand [Thu, 23 Jan 2003 00:40:57 +0000 (00:40 +0000)]
    * config/s390/s390.h (HARD_REGNO_MODE_OK): Fix warning regression
        introduced by last change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61638 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-01-22 Nathanael Nerode <neroden@gcc.gnu.org>
neroden [Thu, 23 Jan 2003 00:40:41 +0000 (00:40 +0000)]
2003-01-22 Nathanael Nerode  <neroden@gcc.gnu.org>

* jcf-parse.c (process_zip_dir): Remove unused variable.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61637 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Thu, 23 Jan 2003 00:17:37 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61632 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR c++/9328
mmitchel [Thu, 23 Jan 2003 00:17:32 +0000 (00:17 +0000)]
PR c++/9328
* g++.dg/ext/typeof3.C: New test.

PR c++/9328
* error.c (dump_decl): For an OVERLOAD, just print the name of the
function; it doesn't make sense to try to print its type.
* semantics.c (finish_typeof): Issue errors about invalid uses.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61631 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR c++/2738
reichelt [Wed, 22 Jan 2003 23:21:51 +0000 (23:21 +0000)]
PR c++/2738
* g++.dg/parse/ret-type1.C: New test.

PR c++/3792
* g++.dg/parse/tmpl-outside1.C: New test.

PR c++/4207
* g++.dg/parse/int-as-enum1.C: New test.

PR c++/4903
* g++.dg/parse/no-typename1.C: New test.

PR c++/5533
* g++.dg/parse/no-value1.C: New test.

PR c++/5921
* g++.dg/parse/wrong-inline1.C: New test.

PR c++/6402
* g++.dg/parse/ref1.C: New test.

PR c++/6992
* g++.dg/parse/attr-ctor1.C: New test.

PR c++/7229
* g++.dg/parse/namespace5.C: New test.

PR c++/7917
* g++.dg/parse/func-def1.C: New test.

PR c++/8143
* g++.dg/parse/undefined1.C: New test.

PR c++/5723, PR c++/8522
* g++.dg/parse/specialization1.C: New test.

PR c++/163, PR c++/8595
* g++.dg/parse/struct-as-enum1.C: New test.

PR c++/9173
* g++.dg/parse/undefined2.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61624 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * MAINTAINERS: Move myself from GNATS-only-accounts to
reichelt [Wed, 22 Jan 2003 22:43:44 +0000 (22:43 +0000)]
* MAINTAINERS: Move myself from GNATS-only-accounts to
write-after-approval.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61620 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR c++/9298
mmitchel [Wed, 22 Jan 2003 22:24:30 +0000 (22:24 +0000)]
PR c++/9298
* parser.c (cp_parser_consume_semicolon_at_end_of_statement): New
function.
(cp_parser_expression_statement): Use it.
(cp_parser_explicit_instantiation): Likewise.
* pt.c (do_decl_instantiation): Improve error handling logic.

PR c++/9298
* g++.dg/parse/template1.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61618 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 22 Jan 2003 21:18:00 +0000 (21:18 +0000)]
2003-01-22  Benjamin Kosnik  <bkoz@redhat.com>
    Sysoltsev Slawa  <Vyatcheslav.Sysoltsev@intel.com>
    Mark Mitchell  <mark@codesourcery.com>

PR libstdc++/9269
* include/std/std_fstream.h (basic_filebuf::uflow): Declare.
(basic_filebuf::underflow): Declare.
Move definitions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61616 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * expr.c (build_invokeinterface): Abort if method's context is not
tromey [Wed, 22 Jan 2003 20:53:54 +0000 (20:53 +0000)]
* expr.c (build_invokeinterface): Abort if method's context is not
an interface.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61615 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gcj.texi (Input and output files): Mention non-class entries.
tromey [Wed, 22 Jan 2003 20:51:55 +0000 (20:51 +0000)]
* gcj.texi (Input and output files): Mention non-class entries.
* decl.c (java_init_decl_processing): Call
init_resource_processing.
* java-tree.h (compile_resource_data, write_resource_constructor,
compile_resource_file, init_resource_processing): Declare.
* config-lang.in (gtfiles): Added resource.c.
* Make-lang.in (gt-java-resource.h): New target.
(JAVA_OBJS): Added resource.o.
(java/resource.o): New target.
* resource.c: New file.
* class.c (compile_resource_file): Moved to resource.c.
(registerResource_libfunc): Likewise.
(utf8_decl_list): Mark with GTY; now static.
* jcf-parse.c (classify_zip_file): New function.
(parse_zip_file_entries): Use it; compile .properties files.
(process_zip_dir): Use classify_zip_file and compute_class_name.
Don't write class name into zip directory.
(java_parse_file): Call write_resource_constructor.
(compute_class_name): New function.
* jcf-io.c (read_zip_member): Reindented.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61614 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* ra-rewrite.c (rewrite_program2): Initialize bb to avoid warning.
schwab [Wed, 22 Jan 2003 19:40:08 +0000 (19:40 +0000)]
* ra-rewrite.c (rewrite_program2): Initialize bb to avoid warning.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61612 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR c++/9384
mmitchel [Wed, 22 Jan 2003 19:28:23 +0000 (19:28 +0000)]
PR c++/9384
* parser.c (cp_parser_using_declaration): Issue error messages
about name resolution failures here.

PR c++/9384
* g++.dg/parse/using1.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61611 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-01-22 Andrew Haley <aph@redhat.com>
aph [Wed, 22 Jan 2003 18:21:55 +0000 (18:21 +0000)]
2003-01-22  Andrew Haley  <aph@redhat.com>

        * src/powerpc/darwin.S (_ffi_call_AIX): Add Augmentation size to
        unwind info.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61608 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/h8300/h8300.c (h8300_shift_needs_scratch_p): Don't
kazu [Wed, 22 Jan 2003 17:56:39 +0000 (17:56 +0000)]
* config/h8300/h8300.c (h8300_shift_needs_scratch_p): Don't
request a scratch reg on H8S when the shift count is 8.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61602 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoFix misapplied patch.
aph [Wed, 22 Jan 2003 17:50:38 +0000 (17:50 +0000)]
Fix misapplied patch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61601 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-01-22 Andrew Haley <aph@redhat.com>
aph [Wed, 22 Jan 2003 17:47:04 +0000 (17:47 +0000)]
2003-01-22  Andrew Haley  <aph@redhat.com>

        * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
        * configure.host (CHECKREFSPEC): Define for x86_64.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61600 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * parser.c (cp_parser_simple_declaration): Return quickly when
mmitchel [Wed, 22 Jan 2003 17:40:00 +0000 (17:40 +0000)]
* parser.c (cp_parser_simple_declaration): Return quickly when
        encountering errors.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61599 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR c++/9388
mmitchel [Wed, 22 Jan 2003 17:39:15 +0000 (17:39 +0000)]
PR c++/9388
* class.c (currently_open_derived_class): Use dependent_type_p.
* cp-tree.h (dependent_type_p): New function.
(dependent_template_arg_p): Likewise.
(dependent_template_p): Likewise.
(type_dependent_expression_p): Likewise.
* parser.c (cp_parser_dependent_type_p): Remove.
(cp_parser_value_dependent_type_p): Likewise.
(cp_parser_type_dependent_expression_p): Likewise.
(cp_parser_dependent_template_arg_p): Likewise.
(cp_parser_dependent_template_id_p): Likewise.
(cp_parser_dependent_template_p): Likewise.
(cp_parser_diagnose_invalid_type_name): Replace
cp_parser_dependent_type_p with dependent_type_p, etc.
(cp_parser_primary_expresion): Likewise.
(cp_parser_nested_name_specifier_opt): Likewise.
(cp_parser_postfix_expression): Likewise.
(cp_parser_unary_expression): Likewise.
(cp_parser_template_name): Likewise.
(cp_parser_class_name): Likewise.
(cp_parser_lookup_name): Likewise.
* pt.c (dependent_type_p): New function.
(value_dependent_expression_p): Likewise.
(type_dependent_expression_p): Likewise.
(dependent_template_arg_p): Likewise.
(dependent_template_id_p): Likewise.
(dependent_template_p): Likewise.

PR c++/9285
PR c++/9294
* parser.c (cp_parser_simple_declaration):

PR c++/9285
PR c++/9294
* g++.dg/parse/expr2.C: New test.

PR c++/9388
* g++.dg/parse/lookup2.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61596 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/s390/s390-protos.h (preferred_la_operand_p):
uweigand [Wed, 22 Jan 2003 16:56:45 +0000 (16:56 +0000)]
* config/s390/s390-protos.h (preferred_la_operand_p):
Remove second parameter.
* config/s390/s390.c (preferred_la_operand_p): Likewise.
* config/s390/s390.h (FRAME_REGNO_P, FRAME_REG_P): New macros.
(HARD_REGNO_MODE_OK): Use FRAME_REGNO_P.
* config/s390/s390.md ("*la_cc_64", "*la_cc_31", splitters): Remove.
Add peepholes to transform ADD to LOAD ADDRESS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61594 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 22 Jan 2003 16:51:52 +0000 (16:51 +0000)]
2003-01-22  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/locale_facets.h: Move non-facet classes requiring
<string> to...
* include/bits/locale_classes.h: New.
* include/bits/Makefile.am (bits_headers_src): Add locale_classes.h.
* include/bits/Makefile.in: Regenerate.

* include/bits/locale_facets.tcc (__convert_from_v): Move to...
* config/locale/gnu/c_locale.h: ...here.
* config/locale/generic/c_locale.h: Same.

* include/bits/locale_facets.tcc: Move declarations to...
* include/bits/locale_facets.h: ...here.
* include/bits/basic_ios.h: Tweak includes accordingly.
* include/std/std_sstream.h: Add streambuf include.
* include/std/std_fstream.h: Ditto.
* include/std/std_locale.h: Add locale_classes.h include.
* include/std/std_iosfwd.h: Tweak.
* src/concept-inst.cc: Add iterator include.

* config/linker-map.gnu: Specify __cxa functions, mark __cxa_dyn_*
bits as unexported in the future.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61593 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* arm.c (arm_address_register_rtx_p): New function.
rearnsha [Wed, 22 Jan 2003 16:01:43 +0000 (16:01 +0000)]
* arm.c (arm_address_register_rtx_p): New function.
(arm_legitimate_address_p): New function.
(arm_legitimate_index_p): New function.
(legitimize_pic_address): Use arm_legitimate_index_p.
* arm-protos.h (arm_legtimate_address_p): Add prototype.
* arm.h (ARM_GO_IF_LEGITIMATE_INDEX): Delete.
(ARM_GO_IF_LEGITIMATE_ADDRESS): Call arm_legitimate_address_p.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61592 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/s390/s390.md (floatdfdi2): Insn has type 'itof'.
hpenner [Wed, 22 Jan 2003 14:40:05 +0000 (14:40 +0000)]
    * config/s390/s390.md (floatdfdi2): Insn has type 'itof'.
        * config/s390/2064.md (define_bypass): Correct 'Load' and
        'Load-address' bypass values.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61591 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/ia64/t-ia64 (insn-attrtab.o-warn): Define as -Wno-error.
schwab [Wed, 22 Jan 2003 14:20:45 +0000 (14:20 +0000)]
* config/ia64/t-ia64 (insn-attrtab.o-warn): Define as -Wno-error.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61590 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agofix typo in last change
zack [Wed, 22 Jan 2003 07:32:29 +0000 (07:32 +0000)]
fix typo in last change

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61589 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * genautomata.c (output_internal_insn_latency_func,
zack [Wed, 22 Jan 2003 07:31:51 +0000 (07:31 +0000)]
* genautomata.c (output_internal_insn_latency_func,
output_print_reservation_func): Short circuit when there is no
automaton to generate code for.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61588 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * ada/Make-lang.in: Disable -Werror for tracebak.c and
zack [Wed, 22 Jan 2003 07:30:22 +0000 (07:30 +0000)]
* ada/Make-lang.in: Disable -Werror for tracebak.c and
b_gnatb.c.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61587 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * Makefile.in (ssa-ccp.o): Depend on coretypes.h $(TM_H).
ghazi [Wed, 22 Jan 2003 04:58:26 +0000 (04:58 +0000)]
* Makefile.in (ssa-ccp.o): Depend on coretypes.h $(TM_H).
(df.o): Delete duplicate dependency on coretypes.h $(TM_H).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61586 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/rs6000/rs6000.md: Remove warning.
geoffk [Wed, 22 Jan 2003 01:11:17 +0000 (01:11 +0000)]
* config/rs6000/rs6000.md: Remove warning.
(builtin_setjmp_receiver): Likewise.
* config/darwin.c (update_stubs): Slightly improve terrible hack
with identifiers.  Add comment pointing out problems with it.
(update_non_lazy_ptrs): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61585 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * dwarf2out.c (lookup_filename): Fix printf format warning.
rth [Wed, 22 Jan 2003 01:02:51 +0000 (01:02 +0000)]
    * dwarf2out.c (lookup_filename): Fix printf format warning.
        * system.h (fread_unlocked, fwrite_unlocked): Undef.

        * fixinc/Makefile.in (FL_LIST): Add $($@-warn) hook.
        (fixincl.o-warn, gnu-regex.o-warn): New.
        * fixinc/fixfixes.c (FIX_PROC_HEAD): Mark parameters unused.
        * fixinc/fixtests.c (TEST_FOR_FIX_PROC_HEAD): Likewise.
        * fixinc/fixincl.c (process): Fix printf format warning.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61584 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Wed, 22 Jan 2003 00:17:06 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61583 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * dwarf2out (output_file_names): Don't crash if called
uweigand [Tue, 21 Jan 2003 23:10:07 +0000 (23:10 +0000)]
* dwarf2out (output_file_names): Don't crash if called
with empty file_table.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61576 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * java/util/natResourceBundle.cc (getCallingClassLoader): Start
tromey [Tue, 21 Jan 2003 21:16:46 +0000 (21:16 +0000)]
* java/util/natResourceBundle.cc (getCallingClassLoader): Start
search at 2, not 3.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61574 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * genautomata.c (output_internal_insn_latency_func): Add
zack [Tue, 21 Jan 2003 21:10:40 +0000 (21:10 +0000)]
* genautomata.c (output_internal_insn_latency_func): Add
missing break statement to generated code.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61573 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-01-21 Ranjit Mathew <rmathew@hotmail.com>
tromey [Tue, 21 Jan 2003 20:53:31 +0000 (20:53 +0000)]
2003-01-21  Ranjit Mathew  <rmathew@hotmail.com>

* jartool.c (list_jar): Terminate the 'ascii_date' buffer
with a '\0' to guard against the case where the formatted
time string is more than the size allowed by the buffer.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61571 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * stmt.c (same_case_target_p): New function to determine whether
sayle [Tue, 21 Jan 2003 20:52:44 +0000 (20:52 +0000)]
* stmt.c (same_case_target_p): New function to determine whether
two case labels branch to the same target.  Split out from...
(group_case_nodes): ... here.  Use same_case_target_p instead.
(strip_default_case_nodes): Remove explicit case nodes
that branch to the default destination.
(expand_end_case_type): Call strip_default_case_nodes after
group_case_nodes, to simplify the case-list before we count it.
Only generate table_label RTX when actually needed.  Try to share
thiscase->exit_label and thiscase->data.case_stmt.default_label
when a switch has no explicit default case.  Simplify test for
constant index.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61570 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-01-21 Andreas Tobler <a.tobler@schweiz.ch>
tromey [Tue, 21 Jan 2003 20:49:26 +0000 (20:49 +0000)]
2003-01-21  Andreas Tobler  <a.tobler@schweiz.ch>

* src/powerpc/darwin.S: Add unwind info.
* src/powerpc/darwin_closure.S: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61568 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-01-21 Vladimir Puskas <vpuskas@eunet.yu>
tromey [Tue, 21 Jan 2003 20:45:57 +0000 (20:45 +0000)]
2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>

* java/io/natFileWin32.cc (isAbsolute): Check path length before
looking at any characters.
* java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
be used.
(isAbsolute): Check path's length as well.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61566 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/h8300/h8300.md (*negsf2_h8300): Use \\t instead of
kazu [Tue, 21 Jan 2003 20:34:01 +0000 (20:34 +0000)]
* config/h8300/h8300.md (*negsf2_h8300): Use \\t instead of
\t.
(*negsf2_h8300hs): Likewise.
(*addsi3_lshiftrt_16_zexthi): Likewise.
(*iorhi3_lshiftrt_8): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61565 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gcc.c-torture/execute/990208-1.c: Add noinline attributes as needed.
hubicka [Tue, 21 Jan 2003 19:43:53 +0000 (19:43 +0000)]
* gcc.c-torture/execute/990208-1.c:  Add noinline attributes as needed.
* gcc.c-torture/execute/eeprof-1.c:  Likewise.
* gcc.c-torture/execute/stdio-opt-*.c: Likewise.
* gcc.c-torture/execute/string-opt-*.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61563 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * class.c (supers_all_compiled): New function.
tromey [Tue, 21 Jan 2003 18:54:25 +0000 (18:54 +0000)]
* class.c (supers_all_compiled): New function.
(make_class_data): Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61561 138bc75d-0d04-0410-961f-82ee72b054a4