OSDN Git Service

2004-06-04 Frank Ch. Eigler <fche@redhat.com>
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 20c59e5..b469ae0 100644 (file)
@@ -1,3 +1,355 @@
+2004-06-04  Frank Ch. Eigler  <fche@redhat.com>
+
+       * gcc.c (MFLIB_SPEC): Remove library references, to require users
+       to enumerate -lmudflap* and dependencies when linking.
+
+2004-06-04  Paolo Bonzini  <bonzini@gnu.org>
+
+       PR target/15822
+       * dojump.c (do_jump): Fix uninitialized variable tcode1.
+
+2004-06-04  Jerry Quinn  <jlquinn@optonline.net>
+
+       * Makefile.in (insn-conditions.o): Back out removal of reload.h.
+       * genconditions.c (write_header): Back out removal of reload.h.
+
+2004-06-04  Jan Hubicka  <jh@suse.cz>
+
+       Re-apply hopefully fixed patch:
+       * i386.md (UNSPECV_EH_RETURN): Kill.
+       (eh_return): Use jump_insn.
+       (eh_return_si, eh_return_di): Change pattern to jump instruction.
+
+2004-06-04  Jeff Law  <law@redhat.com>
+
+       * cfgrtl.c (try_redirect_by_replacing_jump): Fix return value.
+
+2004-06-04  Steven Bosscher  <stevenb@suse.de>
+
+       * except.c (for_each_eh_region): New function.
+       * except.h (for_each_eh_region): Add a prototype for it.
+       * tree-cfg.c (update_eh_labels): New function, callback for
+       for_each_eh_region.
+       (label_for_bb): Make global static, unfortunately.
+       (cleanup_dead_labels): Also update label references for
+       exception regions.
+
+2004-06-03  Chris Demetriou  <cgd@broadcom.com>
+
+       * config/mips/mips.c (struct irix_section_align_entry): Fix
+       GTY marker.
+
+2004-06-03  Geoffrey Keating  <geoffk@apple.com>
+
+       * toplev.c (check_global_declarations): Don't ask for
+       DECL_ASSEMBLER_NAME unless the function really is declared
+       static and not defined.
+
+2004-06-03  Matt Austern  <austern@apple.com>
+
+       PR c++/15428
+       * default.h (TARGET_WEAK_NOT_IN_ARCHIVE_TOC): New name
+       for TARGET_EXPLICIT_INSTANTIATIONS_ONE_ONLY, with reversed sense.
+       * config/darwin.h (TARGET_WEAK_NOT_IN_ARCHIVE_TOC): Likewise.
+       * doc/tm.texi (TARGET_WEAK_NOT_IN_ARCHIVE_TOC): Rewrite
+       documentation to reflect the new macro name and to clarify its 
+       meaning.
+       
+2004-06-03  Steven Bosscher  <stevenb@suse.de>
+
+       * rtl.def (VAR_LOCATION): Make RTX_EXTRA.
+
+2004-06-03  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       * config/darwin.c (machopic_indirect_data_reference): Copy
+       the SYMBOL_REF_DECL from the original RTX for the new
+       non-lazy pointer RTX.
+
+2004-06-03  Mark G. Adams  <mark.g.adams@sympatico.ca>
+
+       * tree.h: Remove include of version.h
+       * c-cppbuiltin.c: Include version.h
+       * diagnostic.c: Include version.h
+       * dwarf2out.c: Include version.h
+       * toplev.c: Include version.h
+       * vmsdbgout.c: Include version.h
+       * Makefile.in: Remove dependency on version.h from TREE_H, and
+       add dependencies to required .o targets
+
+2004-06-03  Jerry Quinn  <jlquinn@optonline.net>
+
+       * Makefile.in (RA_H, RESOURCE_H, SCHED_INT_H, CFGLAYOUT_H,
+       CFGLOOP_H, DF_H, DDG_H, TREE_SSA_LIVE_H): New.
+       (TARGET_H): Add insn-modes.h.
+       (tree-ssa.o, tree-cfg.o, tree-ssa-loop.o, toplev.o, passes.o,
+       loop.o, loop-doloop.o, unroll.o, cfgloop.o, cfgloopanal.o,
+       loop-iv.o, cfgloopmanip.o, loop-init.o, loop-unswitch.o,
+       loop-unroll.o, ddg.o, modulo-sched.o, predict.o,
+       cfglayout.o, ifcvt.o): Replace cfgloop.h with CFGLOOP_H.
+       (toplev.o, passes.o, cfghooks.o, cfgloopmanip.o, loop-init.o,
+       loop-unswitch.o, loop-unroll.o, ddg.o, modulo-sched.o,
+       bb-reorder.o, tracer.o, cfglayout.o): Replace cfglayout.h with
+       CFGLAYOUT_H.
+       (ra.o, ra-build.o, ra-colorize.o, ra-debug.o, ra-rewrite.o):
+       Replace ra.h with RA_H.
+       (resource.o, regrename.o, insn-conditions.o, insn-emit.o,
+       insn-recog.o): Replace resource.h with RESOURCE_H.
+       (ddg.o, modulo-sched.o, haifa-sched.o, sched-deps.o, sched-rgn.o,
+       sched-ebb.o, sched-vis.o, out_object_file):  Replace sched-int.h
+       with SCHED_INT_H.
+       (web.o, lcm.o, df.o, ra.o, ra-build.o, ra-colorize.o, ra-debug.o,
+       ra-rewrite.o): Replace df.h with DF_H.
+       (ddg.o, modulo-sched.o): Replace ddf.h with DDG_H.
+       (tree-outof-ssa.o, tree-ssa-live.o, tree-ssa-copyrename.o):
+       Replace tree-ssa-live.h with TREE_SSA_LIVE_H.
+       (insn-conditions.o): Remove unused reload.h.
+       * cfglayout.h: Add include guard.  Include basic-block.h.
+       * cfgloop.h: Add include guard.  Include basic-block.h, rtl.h.
+       * ddg.h: Include sbitmap.h, basic-block.h, df.h.
+       * df.h: Add include guard.  Include bitmap.h, sbitmap.h,
+       basic-block.h.
+       * genconditions.c:  Remove reload.h.
+       * ra.h: Add include guard.  Include bitmap.h, sbitmap.h,
+       hard-reg-set.h, insn-modes.h.
+       * resource.h: Add include guard.  Include hard-reg-set.h.
+       * sched-int.h:  Add include guard.  Include insn-attr.h,
+       basic-block.h, rtl.h.
+       * target.h: Add include guard.  Include insn-modes.h.
+       * tree-ssa-live.h: Include partition.h.
+
+2004-06-03  Daniel Berlin  <dberlin@dberlin.org>
+               Kenneth Zadeck <zadeck@naturalbridge.com>
+
+       * tree-ssa-ccp.c (varying_ssa_edges): New worklist.
+       (add_var_to_ssa_edges_worklist): Add value argument.
+       Update callers.
+       Use new worklist.
+       (process_ssa_edge_worklist): New function.
+       (tree_ssa_ccp): Move worklist processing core to 
+       process_ssa_edge_worklist, and just call that for the two worklists.
+
+2004-06-03  Steven Bosscher  <stevenb@suse.de>
+
+       * basic-block.c (tail_recursion_label_list): Don't declare.
+       (CLEANUP_PRE_SIBCALL): Remove.  Renumber the other CLEANUP_*
+       accordingly.
+       * cfgbuild.c (find_label_refs): Remove.
+       (find_basic_blocks_1): Don't handle CALL_PLACEHOLDER insns.
+       * cfgcleanup.c (tail_recursion_label_p): Remove.
+       (merge_blocks_move): Do not check for tail recursion.
+       (try_optimize_cfg): Likewise.
+       (cleanup_cfg): Never handle CLEANUP_PRE_SIBCALL.
+       * cfgrtl.c (tail_recursion_label_list): Remove.
+       * except.c (remove_unreachable_regions): Don't handle
+       CALL_PLACEHOLDER insns.
+       (convert_from_eh_region_ranges_1, can_throw_internal,
+       can_throw_external): Likewise.
+       * function.c (free_after_compilation): Don't clear
+       x_tail_recursion_label.
+       (fixup_var_refs_insns): Don't handle CALL_PLACEHOLDER insns.
+       (identify_blocks_1): Don't recurse for CALL_PLACEHOLDER insns.
+       (reorder_blocks_1): Likewise.
+       * function.h (struct function): Remove x_tail_recursion_label
+       member.  Don't define tail_recursion_label.
+       * jump.c (mark_all_labels): Don't handle CALL_PLACEHOLDER insns.
+       * print-rtl.c (print_rtx): Likewise.
+       * rtl.def (CALL_PLACEHOLDER): Remove.
+       * rtl.h (sibcall_use_t): Remove enum.
+       (optimize_sibling_and_tail_recursive_calls,
+       replace_call_placeholder): Remove function prototypes.
+       * stmt.c (tail_recursion_args): Remove.
+       (optimize_tail_recursion): Remove.
+       (expand_return): Don't check for possible tail recursion.
+       * tree.h (optimize_tail_recursion): Remove prototype.
+
+2004-06-02  Jan Hubicka  <jh@suse.cz>
+
+       * tree-cfg.c (tree_find_edge_insert_loc):  Allow inserting before
+       return_stmt.
+
+2004-06-02  Jason Merrill  <jason@redhat.com>
+
+       * Makefile.in (TAGS): Don't mess with c-parse.[ch].
+       Do include c-parse.in.
+
+2004-06-02  Eric Christopher  <echristo@redhat.com>
+
+       * c-typeck.c (common_type): Don't lose type qualifiers
+       when creating new variants.
+
+2004-06-02  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       PR tree-optimization/14042
+       PR tree-optimization/14729
+       PR tree-optimization/14736
+       * tree-ssa.c (tree_ssa_useless_type_conversion_1):
+       Check the type which the pointer points to
+       instead of the pointer types.
+
+2004-06-02  Kazu Hirata  <kazu@cs.umass.edu>
+
+       PR tree-optimization/15738.
+       * builtins.c (fold_builtin_strchr): Transform
+       strrchr (s, '\0') to strchr (s, '\0').
+
+2004-06-02  Steven Bosscher  <stevenb@suse.de>
+
+       * i386.c (ix86_adjust_cost): Don't increase the cost for
+       load+operation for PROCESSOR_PENTIUMPRO, it is already
+       modelled in the DFA description
+
+2004-06-01  Jerry Quinn  <jlquinn@optonline.net>
+
+       * Makefile.in (EXPR_H): Add insn-config.h, function.h,
+       $(RTL_H), flags.h, $(TREE_H), $(MACHMODE_H), $(EXPR_H).
+       (ALIAS_H, EMIT_RTL_H): New.
+       (cselib.o): Replace EXPR_H with EMIT_RTL_H.
+       (cfgcleanup.o): Add EMIT_RTL_H.
+       (alias.o): Replace EXPR_H with EMIT_RTL_H and ALIAS_H.
+       * alias.c: Replace expr.h with emit-rtl.h and alias.h.
+       * attribs.c, c-lex.c, c-obj-common.c, c-semantics.c: Remove expr.h.
+       * cfgcleanup.c, cselib.c: Replace expr.h with emit-rtl.h.
+       * expr.h: Add include guard.  Include function.h, rtl.h, flags.h,
+       tree.h, machmode.h, insn-config.h, alias.h, emit-rtl.h.
+       (get_varargs_alias_set, get_frame_alias_set, record_base_value,
+       record_alias_subset, new_alias_set, can_address_p): Move to alias.h.
+       (set_mem_alias_set, set_mem_align, set_mem_expr, set_mem_offset,
+       set_mem_size): Move to emit-rtl.h.
+       * emit-rtl.h: New.
+       * alias.h: New.
+
+2004-06-01  Eric Botcazou  <ebotcazou@act-europe.fr>
+
+       * function.c (walk_fixup_memory_subreg): New parameter 'var'.
+       Call fixup_memory_subreg only if the MEM is equal to 'var'.
+       Adjust recursive calls to self.
+       (fixup_var_refs_insn): Pass 'var' to walk_fixup_memory_subreg.
+
+2004-06-01  Richard Henderson  <rth@redhat.com>
+           Andrew Pinski  <pinskia@physics.uc.edu>
+
+       * c-parse.in (OFFSETOF, offsetof_member_designator): New.
+       (primary): Handle offsetof.  Add error productions for faux functions.
+       Move component_ref objc checking to build_component_ref.
+       (reswords): Add offsetof.
+       (rid_to_yy): Add offsetof.
+       * c-tree.h (build_offsetof): Declare.
+       * c-common.h (objc_is_public): Declare.
+       * c-typeck.c (build_component_ref): Check objc_is_public.
+       (build_offsetof): New.
+       * stub-objc.c (objc_is_public): New.
+       * objc/objc-act.c, objc/objc-act.h (objc_is_public): Rename
+       from is_public.
+       * ginclude/stddef.h (offsetof): Use __builtin_offsetof.
+       * doc/extend.texi (Offsetof): Move from C++ section to C section
+       and rewrite for __builtin_offsetof.
+
+2004-06-01  Peter Barada  <peter@the-baradas.com>
+           Peter Jakubek  <peter@laseranimation.com>
+
+       * config/m68k/m68k.c(m68k_output_mi_thunk):  For ColdFire, use %d0 as
+       a scratch to perform an add to memory.
+
+2004-06-01  Bernardo Innocenti  <bernie@develer.com>
+
+       PR target/14018
+       * config/m68k/m68k.c (m68k_align_loops_string, m68k_align_jumps_string,
+       m68k_align_funcs_string, m68k_align_loops, m68k_align_jumps,
+       m68k_align_funcs): Remove.
+       (override_options): Remove code to handle -malign-* options.
+       * config/m68k/m68k.h (TARGET_OPTIONS): Remove -malign-* options.
+       (FUNCTION_BOUNDARY, LOOP_ALIGN, LOOP_ALIGN_AFTER_BARRIER): Remove.
+       (m68k_align_loops_string, m68k_align_jumps_string,
+       m68k_align_funcs_string, m68k_align_loops, m68k_align_jumps,
+       m68k_align_funcs): Remove definitions.
+
+2004-06-01  Paul Eggert  <eggert@cs.ucla.edu>
+
+       PR target/15626
+       * doc/install.texi (sparc-sun-solaris2*): Document messages issued
+       by the Sun linker in conjunction with the Sun assembler.
+       (sparc-sun-solaris2.7): Update revision info for Sun patch 106950.
+
+2004-06-01  Jeff Law  <law@redhat.com>
+
+       * stmt.c (expand_decl): Be more selective about calling
+       mark_reg_pointer.
+
+2004-06-01  Nicola Pero  <nicola@brainstorm.co.uk>
+
+       PR objc/7993
+       * objc-act.c (is_private): Do not emit the 'instance variable %s
+       is declared private' error.
+       (is_public): Emit the error after calling is_private.
+       (lookup_objc_ivar): If the instance variable is private, return 0
+       - the instance variable is invisible here.
+
+2004-06-01  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       * doc/invoke.texi (-static-libgcc): Explicitly mention
+       non-GNU linkers.
+
+2004-06-01  Bernardo Innocenti  <bernie@develer.com>
+
+       PR target/12968
+       * doc/invoke.texi: Document stack alignment side-effect of -mshort.
+
+2004-05-31  Joseph S. Myers  <jsm@polyomino.org.uk>
+
+       PR c/15749
+       * c-decl.c (grokdeclarator, finish_struct): Don't pedwarn for
+       misuses of structures with flexible array members if
+       in_system_header.
+
+2004-05-31  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       PR target/15693
+       * config/sparc/sparc.c (compare_operand): New predicate.
+       * config/sparc/sparc.h (PREDICATE_CODES): Add it.
+       * config/sparc/sparc.md (cmpsi expander): Use it.  If the first
+       operand is a ZERO_EXTRACT and the second operand is not zero,
+       force the former to a register.
+       (cmpdi expander): Likewise.
+
+2004-05-31  Geoffrey Keating  <geoffk@apple.com>
+
+       * gengtype-lex.l: Catch stray GTY markers in the files gengtype
+       looks at.
+       * alias.c (alias_invariant_size): Make alias_invariant_size
+       static, fix GTY marker.
+
+2004-05-31  Kazu Hirata  <kazu@cs.umass.edu>
+
+       PR tree-optimization/15743.
+       * builtins.c (fold_builtin_1): Fold index() and rindex().
+
+2004-05-31  Roger Sayle  <roger@eyesopen.com>
+
+       PR middle-end/15069
+       * fold-const.c (fold_single_bit_test): Only perform "(X & C) != 0"
+       into "X < 0" (where C is the signbit) if X's type is a full mode.
+
+2004-05-31  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       * pa.md: Disable the peephole2 patterns that generate indexed
+       floating-point stores when indexing is disabled.
+
+2004-05-31  Gabriel Dos Reis  <gdr@integrable-solutions.net>
+
+       * c-pretty-print.c (pp_c_left_bracket): Make a function.
+       (pp_c_right_bracket): Likewise.
+       (pp_c_star): Likewise.
+       (pp_c_ampersand): Define.
+       * c-pretty-print.h (pp_c_left_bracket): Declare.
+       (pp_c_right_bracket): Likewise.
+       (pp_c_star): Likewise.
+       (pp_c_ampersand): Likewise.
+
+2004-05-31  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       * config/sol2.h (__enable_execute_stack): ANSIfy function
+       definition.
+
 2004-05-31  Danny Smith  <dannysmith@users.sourceforge.net>
 
        * c-incpath.c (add_path): Canonicalize paths to use '/' if
        and the remaining even if flag_unsafe_math_optimizations
        is off but we are under -fno-trapping-math.
        (fold_relational_const): Integer modes do not honor NaNs.
-       
+
 2004-05-28  Paul Brook  <paul@codesourcery.com>
 
        * config/arm/arm.c (arm_output_epilogue): Remove redundant code.
        calculate_local_reg_bb_info, set_up_bb_rts_numbers, rpost_cmp,
        modify_bb_reg_pav, calculate_reg_pav,
        make_accurate_live_analysis): New functions.
-       
+
 2004-05-25  Devang Patel  <dpatel@apple.com>
 
        * alias.c (init_alias_analysis): Use ggc_calloc instead of
        xrealloc.
        (end_alias_analysis): Use ggc_free instead fo free.
-       
+
 2004-05-25  Andrew Pinski  <pinskia@physics.uc.edu>
 
        PR target/15546
        (nonzero_bits, cached_nonzero_bits, nonzero_bits1,
        num_sign_bit_copies, cached_num_sign_bit_copies,
        num_sign_bit_copies1): New, from combine.c.
-       * rtlhooks.c: New file. 
+       * rtlhooks.c: New file.
 
 2004-05-25  Svein E. Seldal  <Svein.Seldal@solidas.com>
 
        to support 32-bit -mint8 mode.
 
        * doc/invoke.texi (-mint8): Added documentation for the -mint8
-       option in the AVR architecture. 
+       option in the AVR architecture.
 
 2004-05-24  Mike Stump  <mrs@apple.com>
 
 
        PR tree-optimization/14197
        * builtins.c: Include "tree-gimple.h"
-       (readonly_data_expr): Use get_base_address.  Make sure to call 
+       (readonly_data_expr): Use get_base_address.  Make sure to call
        decl_readonly_section only on trees it can handle.
        * tree-gimple.c (get_base_address): Accept STRING_CST and
        CONSTRUCTOR expressions.