OSDN Git Service

* Fix for g++/15861
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 6203360..8d4a911 100644 (file)
@@ -1,3 +1,108 @@
+2004-07-15  Frank Ch. Eigler  <fche@redhat.com>
+
+       g++/15861
+       * cgraphunit.c (cgraph_build_static_cdtor): Add priority argument.
+       * cgraph.h: Update declaration.
+       * c-decl.c (build_cdtor): Update call with default priority.
+       * coverage.c (create_coverage): Ditto.
+       * tree-mudflap.c (mf_init_fndecl): New tree.
+       (mudflap_init): Set it.
+       (mudflap_register_call): Arrange to call __mf_init before the first
+       __mf_register call.
+       (mudflap_finish_file): Mark the mudflap static initializer as extra
+       high priority, to beat all C++ static constructors.
+
+2004-07-15  Jeff Law  <law@redhat.com>
+
+       * loop.c (check_insn_for_givs): Restore check for code labels that was
+       accidentally deleted by a recent checkin.
+
+2004-07-15  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * vec.h (VEC_T_truncate): Allow truncation of an empty vector.
+       (VEC_T_quick_insert, VEC_T_ordered_remove): Fix sizeof(T) thinko.
+
+2004-07-14  Richard Henderson  <rth@redhat.com>
+
+       * print-tree.c (print_node): Fix casts last change.
+
+2004-07-15  Paul Brook  <paul@codesourcery.com>
+
+       * dwarf2out.c (dwarf2out_begin_prologue): Rename IA64_UNWIND_INFO
+       to TARGET_UNWIND_INFO.
+       * except.c (output_function_exception_table): Ditto.
+       * except.h: Ditto.
+       * opts.c (decode_options): Ditto.
+       * passes.c (rest_of_handle_final): Ditto.
+       * final.c (final_start_function): Ditto.
+       (final_scan_insn, final_scan_insn): Replace IA64_UNWIND_EMIT with
+       target hook.
+       * targhooks.h (default_unwind_emit): Declare.
+       * targhooks.c (default_unwind_emit): New function.
+       * target-def.h: Define and use TARGET_UNWIND_EMIT.
+       * target.h (struct gcc_target): Add unwind_emit.
+       * config/ia64/ia64.c (TARGET_UNWIND_EMIT): Define.
+       * config/ia64/ia64.h: Rename IA64_UNWIND_INFO to TARGET_UNWIND_INFO.
+       Remove IA64_UNWIND_EMIT.
+       * doc/tm.texi: Document TARGET_UNWIND_EMIT and TARGET_UNWIND_INFO.
+
+2004-07-14  Richard Henderson  <rth@redhat.com>
+
+       * print-tree.c (print_node): Handle SSA_NAME.
+
+2004-07-14  James E Wilson  <wilson@specifixinc.com>
+
+       PR target/16325
+       * config/mips/mips.h (STARTING_FRAME_OFFSET): When flag_profile_value
+       and ! TARGET_64BIT, include REG_PARM_STACK_SPACE.
+
+2004-07-15  Jakub Jelinek  <jakub@redhat.com>
+
+       * expr.c (expand_assignment): Reenable bitfield += optimizations.
+       Use alias set 0 for memory, do proper mode calculations and adjust
+       address for memories.
+
+2004-07-14  Per Bothner  <per@bothner.com>
+
+       * input.h:  If USE_MAPPED_LOCATION, define separate expanded_location
+       structure with extra column field.
+       * tree.c (expand_location):  Also fill in column field.
+       * gengtype-lex.l:  Ignore expanded_location typedef, sinze gengtype
+       gets confused by the two conditionally-compiled definitions.
+
+2004-07-14  Eric Christopher  <echristo@redhat.com>
+
+       * calls.c (expand_call): Fix typo in comment.
+
+2004-07-14  Steve Ellcey  <sje@cup.hp.com>
+
+       * config/ia64/ia64.c (ia64_expand_compare): Allow ORDERED
+       comparision of TFmode.
+
+2004-07-14  Richard Henderson  <rth@redhat.com>
+
+       * config/alpha/alpha.c (alpha_gimplify_va_arg_1): Move indirect ...
+       (alpha_gimplify_va_arg): ... handling here.  Use pass_by_reference.
+       * config/c4x/c4x.c (c4x_gimplify_va_arg_expr): Use pass_by_reference.
+       * config/i386/i386.c (ix86_gimplify_va_arg): Likewise.
+       * config/i860/i860.c (i860_gimplify_va_arg_expr): Likewise.
+       * config/ia64/ia64.c (ia64_gimplify_va_arg): Likewise.
+       * config/rs6000/rs6000.c (rs6000_gimplify_va_arg): Likewise.
+       * config/sh/sh.c (sh_gimplify_va_arg_expr): Likewise.
+       * config/xtensa/xtensa.c (xtensa_gimplify_va_arg_expr): Likewise.
+
+2004-07-14  Mike Stump  <mrs@apple.com>
+
+       * config/darwin.h (WINT_TYPE): Define to be int to match
+        system header files.
+
+2004-07-14  Bob Wilson  <bob.wilson@acm.org>
+
+       * config/xtensa/xtensa.c (function_arg_advance): Check for args
+       that must be passed in the stack.
+       (xtensa_gimplify_va_arg_expr): Skip special-case padding for small
+       arguments if the size is not a constant.
+
 2004-07-14  Per Bothner  <per@bothner.com>
 
        * c-typeck.c (emit_side_effect_warnings):  Use EXPR_HAS_LOCATION
        * tree-data-ref.h: New file.
        * tree.c (int_cst_value, tree_fold_gcd): New functions.
        * tree.h (int_cst_value, tree_fold_gcd): Declared here.
-       
+
 2004-07-13  Eric Botcazou  <ebotcazou@libertysurf.fr>
 
        PR target/13926
        * tree.h (must_pass_in_stack_var_size): Declare.
        (must_pass_in_stack_var_size_or_pad): Declare.
        * calls.c (must_pass_in_stack_var_size): New.
-       (must_pass_in_stack_var_size_or_pad): Rename from 
+       (must_pass_in_stack_var_size_or_pad): Rename from
        default_must_pass_in_stack.
        * config/alpha/alpha.c (unicosmk_must_pass_in_stack): New.
        (TARGET_MUST_PASS_IN_STACK): New.
 
 2004-07-13  Anthony Heading  <aheading@jpmorgan.com>
 
-       * configure.ac (gcc_cv_as_offsetable_lo10: Fix a typo.
+       * configure.ac (gcc_cv_as_offsetable_lo10): Fix a typo.
        * configure: Rebuilt.
 
 2004-07-13  Richard Sandiford  <rsandifo@redhat.com>
        (NM_FOR_TARGET): Use $(NM) not nm for native.
        * configure.ac: Add AC_CHECK_PROG calls for NM and AR.
        * configure: Regenerate.
-       
+
 2004-07-12  David S. Miller  <davem@nuts.davemloft.net>
 
        * config/sparc/sparc.md (ashlsi3): Eliminate const 1
 2004-07-12  Devang Patel  <dpatel@apple.com>
 
        * doc/invoke.texi (Darwin Options): Document -gused and -gfull.
-       
+
 2004-07-12  Steve Ellcey  <sje@cup.hp.com>
 
        * function.c (expand_function_start): Ensure r_save is in Pmode.
 2004-07-12  Sebastian Pop  <pop@cri.ensmp.fr>
 
        * cfgloop.h (struct loop): Add nb_iterations field.
-       (current_loops): Declare.  
+       (current_loops): Declare.
        * tree-chrec.c (chrec_not_analyzed_yet,
        chrec_dont_know, chrec_known, count_ev_in_wider_type,
        chrec_contains_symbols_defined_in_loop): Remove the temporary
-       hooks. 
+       hooks.
        * tree-flow-inline.h (loop_containing_stmt): New function.
        * tree-scalar-evolution.c: Add implementation.
        * tree-scalar-evolution.h: Add declarations.
 
        PR rtl-optimization/15921
        * Makefile.in (global.o): Add recog.h.
-       
+
        * global.c (recog.h): Add the include-clause.
        (bb_info): New member earlyclobber.
        (allocate_bb_info, free_bb_info): Initialize/finish the new
        New functions.
        (calculate_local_reg_bb_info): Calculate value of earlyclobber.
        (make_accurate_live_analysis): Modify pavin.
-       
+
 2004-07-12  Diego Novillo  <dnovillo@redhat.com>
 
        * tree-cfg.c (find_taken_edge): Statically compute the truth
 
 2004-07-11  Ulrich Weigand  <uweigand@de.ibm.com>
 
-       * config/s390/linux.h (MD_FALLBACK_FRAME_STATE_FOR): For SIGSEGV and 
+       * config/s390/linux.h (MD_FALLBACK_FRAME_STATE_FOR): For SIGSEGV and
        SIGBUS signal frames, the PSW address points *to* the faulting
        instruction, not after it.
 
 
 2004-07-11  Richard Henderson  <rth@redhat.com>
 
-       * expmed.c (init_expmed): Use stack-local structures for 
+       * expmed.c (init_expmed): Use stack-local structures for
        temporary rtl.  Don't recognize shifts.
 
 2004-07-11  Richard Henderson  <rth@redhat.com>
        (sparc_override_options): Set sparc_costs as appropriate.
        (sparc_rtx_costs): Use sparc_costs instead of messy
        conditionals.
-       
+
 2004-07-09  Steven Bosscher  <stevenb@suse.de>
 
        * doc/md.texi (Processor pipeline description): Mention that