aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2003-11-13* tree-inline.c (walk_tree): Handle PLACEHOLDER_EXPR.Steven Bosscher2-0/+5
From-SVN: r73557
2003-11-13* config/h8300/lib1funcs.asm: Fix comment typos.Kazu Hirata2-2/+6
From-SVN: r73556
2003-11-13lib1funcs.asm (udivsi3): Don't save/restore unused registers.Kazu Hirata2-2/+21
* config/h8300/lib1funcs.asm (udivsi3): Don't save/restore unused registers. Don't jump to exitdiv. (umodsi3): Likewise. From-SVN: r73555
2003-11-13re PR c/13029 (static consts and -Wunused-variable)Mark Mitchell4-2/+19
PR c/13029 * toplev.c (check_global_declarations): Do not warn about unused static consts. PR c/13029 * gcc.dg/unused-4.c: Update. Co-Authored-By: Kean Johnston <jkj@sco.com> From-SVN: r73554
2003-11-13lib1funcs.asm (DenHighNonZero): Optimize using the approximate quotient method.Pavel Pisa2-25/+56
* config/h8300/lib1funcs.asm (DenHighNonZero): Optimize using the approximate quotient method. Co-Authored-By: Kazu Hirata <kazu@cs.umass.edu> From-SVN: r73550
2003-11-13* decl.c (grokfndecl): Change OK to type tree.Richard Earnshaw2-1/+5
From-SVN: r73549
2003-11-13combine.c (distribute_notes): When re-distributing the notes from an insn we ↵Richard Earnshaw2-5/+13
are about to delete... * combine.c (distribute_notes): When re-distributing the notes from an insn we are about to delete, ensure we can't end up with a cyclic list of notes. From-SVN: r73547
2003-11-13re PR rtl-optimization/12926 (Wrong value after assignment in initialize ↵Eric Botcazou4-1/+60
list using bit-fields) PR optimization/12926 * expr.c (expand_assignment) [COMPONENT_REF]: Don't put the UNCHANGING_RTX_P flag on memory references to read-only components that are not addressable. From-SVN: r73542
2003-11-13lib1funcs.asm (divmodsi4): Clear S0P in DenHighNonZero.Kazu Hirata2-1/+6
* config/h8300/lib1funcs.asm (divmodsi4): Clear S0P in DenHighNonZero. From-SVN: r73538
2003-11-13re PR rtl-optimization/12275 ([unit-at-a-time] ICE in htab_clear_slot)Jan Hubicka10-9/+104
PR opt/12275 * c-decl.c (finish_decl): Use change_decl_assembler_name. * c-pragma.c (handle_pragma_redefine_extname): Likewise. * varasm.c (make_decl_rtl): Likewise. * cgraph.c (change_decl_assembler_name): New function. * tree.h (set_decl_assembler_name): Kill dead declaration. (change_decl_assembler_name): Declare. * decl.c (make_rtl_for_nonlocal_decl): Use change_decl_assembler_name. * decl2.c (make_rtl_for_nonlocal_decl): Use change_decl_assembler_name. From-SVN: r73532
2003-11-12re PR rtl-optimization/12547 ([tree-ssa] simple java code with ↵Jason Merrill2-10/+9
-fcheck-references causes gimplification failed) PR optimization/12547 * lang.c (java_tree_inlining_walk_subtrees): Just walk BLOCK_EXPR_BODY directly. From-SVN: r73530
2003-11-13Daily bump.GCC Administrator1-1/+1
From-SVN: r73523
2003-11-12tree.c (build_target_expr_with_type): Treate VA_ARG_EXPR like CONSTRUCTOR.Mark Mitchell2-2/+7
* tree.c (build_target_expr_with_type): Treate VA_ARG_EXPR like CONSTRUCTOR. From-SVN: r73521
2003-11-12lib1funcs.asm (___mulsi3): Don't save/restore an unused register.Kazu Hirata2-2/+5
* config/h8300/lib1funcs.asm (___mulsi3): Don't save/restore an unused register. From-SVN: r73520
2003-11-12re PR bootstrap/12752 (irix bootstrap failure - genmultilib)Richard Sandiford2-2/+8
PR bootstrap/12752 * config/mips/t-iris6 (MULTILIB_OPTIONS): Put -mabi=n32 first. (MULTILIB_OSDIRNAMES): Reorder accordingly. From-SVN: r73518
2003-11-12rs6000-protos.h (rs6000_initial_elimination_offset): Add.Janis Johnson5-91/+137
2003-11-12 Janis Johnson <janis187@us.ibm.com> * rs6000-protos.h (rs6000_initial_elimination_offset): Add. (rs6000_stack_info): Remove. (debug_stack_info): Remove. (rs6000_emit_eh_reg_restore): Add * rs6000.c (rs6000_stack_t): Move from rs6000.h, change data type of vars_size and total_size to HOST_WIDE_INT. (emit_frame_save): Change parameter size to HOST_WIDE_INT. (rs6000_stack_info): Make static; change data size to HOST_WIDE_INT. (debug_stack_info): Make static; change output format of HOST_WIDE_INT values. (rs6000_emit_eh_reg_restore): New, with code formerly in rs6000.md. (rs6000_initial_elimination_offset): New, with code formerly in INITIAL_ELIMINATION_OFFSET. * rs6000.h (rs6000_stack_t): Remove. (INITIAL_ELIMINATION_OFFSET): Replace code with call to function rs6000_initial_elimination_offset. * rs6000.md (UNSPECV_EH_RR split): Replace code with call to rs6000_emit_eh_reg_restore. From-SVN: r73517
2003-11-12* g++.dg/parse/crash10.C: Remove bogus error marker.Mark Mitchell2-2/+4
From-SVN: r73516
2003-11-12decl.c (cp_make_fname_decl): When creating a top-level __FUNCTION__-like ↵Mark Mitchell2-2/+6
symbol, do register it with pushdecl. * decl.c (cp_make_fname_decl): When creating a top-level __FUNCTION__-like symbol, do register it with pushdecl. From-SVN: r73515
2003-11-12adadecode.c: Use <> form of include for ctype.h.Rainer Orth3-2/+7
* adadecode.c: Use <> form of include for ctype.h. * sysdep.c [IN_RTS]: Use <> form of include for time.h. From-SVN: r73512
2003-11-12re PR target/6552 (make gnatlib_and_tools fails compiling a-chahan.adb on ↵Rainer Orth2-1/+6
IRIX 6.2) * 5gsystem.ads (Functions_Return_By_DSP): Set to False. Works around PR middle-end/6552. From-SVN: r73511
2003-11-12run_acats (host_gnatmake): Use type in a /bin/sh script.Rainer Orth3-5/+13
* ada/acats/run_acats (host_gnatmake): Use type in a /bin/sh script. (host_gcc): Likewise. (ROOT): Honor $PWDCMD. (BASE): Likewise. * ada/acats/run_all.sh (dir): Honor $PWDCMD. From-SVN: r73510
2003-11-12decl.c (finish_case_label): Do not check that we are within a switch ↵Mark Mitchell3-19/+66
statement here. * decl.c (finish_case_label): Do not check that we are within a switch statement here. * parser.c (struct cp_parser): Add in_iteration_statement_p and in_switch_statement_p. (cp_parser_new): Initialize them. (cp_parser_labeled_statement): Check validity of case labels here. (cp_parser_selection_statement): Set in_switch_statement_p. (cp_parser_iteration_statement): Set in_iteration_statement_p. (cp_parser_jump_statement): Check validity of break/continue statements here. From-SVN: r73508
2003-11-12c-typeck.c (c_convert_parm_for_inlining): Add argnum...Mike Stump8-13/+31
* c-typeck.c (c_convert_parm_for_inlining): Add argnum, which is the argumnt we are processing so that warnings and errors will have that information. * c-tree.h (c_convert_parm_for_inlining): Add argnum. * lang-hooks-def.h (lhd_tree_inlining_convert_parm_for_inlining): Likewse. * langhooks.c (lhd_tree_inlining_convert_parm_for_inlining): Likewise. * langhooks.h (convert_parm_for_inlining): Likewise. * tree-inline.c (initialize_inlined_parameters): Compute and pass argnum down. From-SVN: r73507
2003-11-12re PR c++/12735 (duplicate error messages for redeclaration errors)Mark Mitchell5-54/+91
PR c++/12735 * cp-tree.h (duplicate_decls): Return a tree. * decl.c (duplicate_decls): Clarify documentation. Return error_mark_node to indicate a failed redeclaration. * friend.c (do_friend): Handle that case. * name-lookup.c (pushdecl): Likewise. From-SVN: r73503
2003-11-12re PR rtl-optimization/12953 (tree inline bug and fix)Alexey Starovoytov2-36/+46
2003-11-12 Alexey Starovoytov <alexey.starovoytov@sun.com> Roger Sayle <roger@eyesopen.com> PR optimization/12953 * tree-inline.c (inline_forbidden_p_1): Added check for BUILT_IN before switch by FUNCTION_CODE. Co-Authored-By: Roger Sayle <roger@eyesopen.com> From-SVN: r73502
2003-11-12re PR java/11045 (int cast bug)Andrew Haley2-3/+11
2003-11-12 Andrew Haley <aph@redhat.com> PR java/11045 * parse.y (fold_constant_for_init): Check that we really do have a constant. From-SVN: r73497
2003-11-12arm.md (storehi): Avoid use of explicit subreg.Richard Earnshaw2-5/+14
* arm.md (storehi): Avoid use of explicit subreg. (storehi_bigend, storeinthi, movhi_bigend): Likewise. From-SVN: r73496
2003-11-12xfail frv-*-*.Catherine Moore2-1/+5
From-SVN: r73495
2003-11-12re PR java/11533 (Inlining drops static initialization of inner class)Andrew Haley3-9/+39
2003-11-12 Andrew Haley <aph@redhat.com> PR java/11533 * lang.c (merge_init_test_initialization): Clear DECL_INITIAL for init_test_decls being inlined. PR java/12890: * parse.y (do_resolve_class): Check return value from breakdown_qualified(). From-SVN: r73494
2003-11-12* config/sh/sh.md (prefetch): New pattern.J"orn Rennecke2-0/+17
From-SVN: r73492
2003-11-12intdoc.in (Signal Intrinsic (subroutine)): Fix texinfo warning using @code.Andreas Jaeger2-3/+4
2003-11-12 Andreas Jaeger <aj@suse.de> * intdoc.in (Signal Intrinsic (subroutine)): Fix texinfo warning using @code. * intdoc.texi: Regenerated. From-SVN: r73491
2003-11-12c99-const-expr-2.c (foo): Avoid extra warning on 64-bit systems.Andreas Jaeger2-1/+8
* gcc.dg/c99-const-expr-2.c (foo): Avoid extra warning on 64-bit systems. Co-Authored-By: Andrew Pinski <pinskia@physics.uc.edu> Co-Authored-By: Jakub Jelinek <jakub@redhat.com> Co-Authored-By: Richard Henderson <rth@redhat.com> From-SVN: r73490
2003-11-12intdoc.texi (Signal Intrinsic (subroutine)): Fix texinfo warning using @code.Andreas Jaeger2-2/+7
* intdoc.texi (Signal Intrinsic (subroutine)): Fix texinfo warning using @code. From-SVN: r73489
2003-11-12Resync.Arnaud Charlet1-0/+153
From-SVN: r73488
2003-11-12reload1.c (reload): Verify that addresses for reg_equiv_* are valid for the ↵Eric Christopher2-0/+11
architecture. 2003-11-11 Eric Christopher <echristo@redhat.com> * reload1.c (reload): Verify that addresses for reg_equiv_* are valid for the architecture. From-SVN: r73487
2003-11-12c90-const-expr-2.c (foo): Avoid extra warning on 64-bit systems.Andreas Jaeger4-3/+22
2003-11-12 Andreas Jaeger <aj@suse.de> Jakub Jelinek <jakub@redhat.com> Andrew Pinski <pinskia@physics.uc.edu> Richard Henderson <rth@redhat.com> * gcc.dg/c90-const-expr-2.c (foo): Avoid extra warning on 64-bit systems. * gcc.dg/20030926-1.c: Make it work on x86_64 systems. * gcc.dg/i386-pentium4-not-mull.c: Likewise. Co-Authored-By: Andrew Pinski <pinskia@physics.uc.edu> Co-Authored-By: Jakub Jelinek <jakub@redhat.com> Co-Authored-By: Richard Henderson <rth@redhat.com> From-SVN: r73485
2003-11-12function.c (purge_addressof_1): Add libcall check.Eric Christopher2-26/+34
2003-11-11 Eric Christopher <echristo@redhat.com> * function.c (purge_addressof_1): Add libcall check. Remove test for cached replacements on fallback case. Simplify mode comparisons. Add libcall test for paradoxical subregs. From-SVN: r73479
2003-11-12* config/h8300/t-h8300: Fix an obsolete comment.Kazu Hirata2-3/+4
From-SVN: r73478
2003-11-12Daily bump.GCC Administrator1-1/+1
From-SVN: r73474
2003-11-11New tests.Richard Henderson2-0/+26
From-SVN: r73469
2003-11-11cp-tree.h (DECL_NAMESPACE_ASSOCIATIONS): New macro.Jason Merrill7-3/+128
* cp-tree.h (DECL_NAMESPACE_ASSOCIATIONS): New macro. * name-lookup.c (parse_using_directive): New fn. (is_associated_namespace): New fn. (arg_assoc_namespace): Also check associated namespaces. * name-lookup.h: Declare new fns. * pt.c (maybe_process_partial_specialization): Allow specialization in associated namespace. * parser.c (cp_parser_using_directive): Accept attributes. Use parse_using_directive. From-SVN: r73468
2003-11-11* gcc.c-torture/execute/20020227-1.x: Test passes also on x86_64.Andreas Jaeger2-2/+4
From-SVN: r73467
2003-11-11* gcc.c-torture/execute/20020720-1.x: Test passes also on x86_64.Andreas Jaeger2-1/+5
From-SVN: r73466
2003-11-11Undo accidental GET_MODE_BITSIZE damage.James E Wilson2-11/+9
(store_bit_field, extract_bit_field): Revert last two changes. From-SVN: r73463
2003-11-11re PR java/12915 (Broken String concatenation)Tom Tromey2-1/+9
PR java/12915: * parse.y (merge_string_cste): Handle case where we have a pointer that happens to be zero, not null_pointer_node. From-SVN: r73461
2003-11-11lib1funcs.asm: Replace DenHighZero with DenHighNonZero.Kazu Hirata2-4/+9
* config/h8300/lib1funcs.asm: Replace DenHighZero with DenHighNonZero. From-SVN: r73457
2003-11-11cgraphunit.c (cgraph_function_possibly_inlined_p): Use really_no_inline.Jan Hubicka2-1/+6
* cgraphunit.c (cgraph_function_possibly_inlined_p): Use really_no_inline. From-SVN: r73454
2003-11-11pa.h (TRAMPOLINE_TEMPLATE): Fix flushing of cache lines when generating ↵John David Anglin2-8/+14
64-bit code. * pa.h (TRAMPOLINE_TEMPLATE): Fix flushing of cache lines when generating 64-bit code. From-SVN: r73451
2003-11-10rs6000.c (legitimate_lo_sum_address_p): Remove accidental commit in previous ↵David Edelsohn2-3/+8
change. * config/rs6000/rs6000.c (legitimate_lo_sum_address_p): Remove accidental commit in previous change. From-SVN: r73440
2003-11-11Minor fixes to darwin version of -mpowerpc64.Fariborz Jahanian1-0/+8
From-SVN: r73439