OSDN Git Service

PR tree-optimization/22230
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index bb00a8f..2a13af2 100644 (file)
@@ -1,3 +1,191 @@
+2005-07-14  Steven Bosscher  <stevenb@suse.de>
+
+       PR tree-optimization/22230
+       * tree-vrp.c (extract_range_from_binary_expr): Fix logics thinko in
+       the computation of the four cross productions for "range op range".
+
+2005-07-14  Alexandre Oliva  <aoliva@redhat.com>
+            Ulrich Weigand  <uweigand@de.ibm.com>
+
+       PR target/20126
+       * loop.c (loop_givs_rescan): Do not ICE if unable to reduce an IV
+       in some insn.
+
+2005-07-14  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * config/s390/s390.h (TARGET_TPF_PROFILING): Add default definition.
+
+2005-07-14  Steve Ellcey  <sje@cup.hp.com>
+
+       * config/ia64/ia64.c (ia64_output_dwarf_dtprel): Support ILP32 mode.
+
+2005-07-14  Richard Guenther  <rguenther@suse.de>
+
+       PR middle-end/22347
+       * config/i386/i386-protos.h (ix86_function_value): Change
+       prototype to match new target hook.
+       * config/i386/i386.c (ix86_value_regno): Change prototype
+       to take extra type argument.
+       (TARGET_FUNCTION_VALUE): Define.
+       (ix86_function_ok_for_sibcall): Pass extra argument to
+       ix86_value_regno, check return slot rtx for exact match.
+       (ix86_function_value): Take extra parameter.  Dispatch to
+       ix86_value_regno with fndecl/fntype as provided.
+       (ix86_value_regno): Handle extra type argument.
+       * config/i386/i386.h (FUNCTION_VALUE): No longer define.
+
+       * testsuite/gcc.target/i386/sseregparm-3.c: New testcase.
+       * testsuite/gcc.target/i386/sseregparm-4.c: New testcase.
+       * testsuite/gcc.target/i386/sseregparm-5.c: New testcase.
+       * testsuite/gcc.target/i386/sseregparm-6.c: New testcase.
+       * testsuite/gcc.target/i386/sseregparm-7.c: New testcase.
+
+2005-07-14  Richard Guenther  <rguenther@suse.de>
+
+       * Makefile.in (explow.o, reg-stack.o): Depend on target.h.
+       * calls.c (expand_call): Pass fntype to hard_function_value.
+       (emit_library_call_value_1): Likewise.
+       * explow.c: Include target.h.
+       (hard_function_value): Take extra argument, the fntype.
+       Use new target hook for function_value.
+       * expr.h (hard_function_value): Change prototype.
+       * function.c (aggregate_value_p): Pass 0 as fntype to
+       hard_function_value.
+       (assign_parms): Use new target hook for function_value.
+       Pass 0 as fntype to hard_function_value.
+       (expand_function_end): Likewise.
+       * reg-stack.c: Include target.h.
+       (stack_result): Use new target hook for function_value.
+       * target-def.h: New target hook function_value.
+       * target.h: Likewise.
+       * targhooks.c (default_function_value): New function.
+       * targhooks.h (default_function_value): Declare.
+
+2005-07-13  Ian Lance Taylor  <ian@airs.com>
+
+       * config/mips/mips.h (CLZ_DEFINED_VALUE_AT_ZERO): Define.
+
+2005-07-14  Jan Hubicka  <jh@suse.cz>
+
+       * tree-dfa.c (dump_variable): Use default_def function.
+       * tree-ssa-alias.c (dump_points_to_info): Likewise.
+       * tree-ssa.c (verify_use): Likewise.
+       * tree-ssanames.c (release_ssa_name): Likewise.
+       * tree-tailcall.c (eliminate_tail_call): Likewise.
+       (tree_optimize_tail_calls_1): Likewise.
+       * tree-vrp.c (get_value_range): Likewise.
+
+2005-07-14  Ben Elliston  <bje@au.ibm.com>
+
+       * gcc.c (main): Compare language[0] with '*' when iterating over
+       the infiles.
+
+2005-07-13  Adrian StraeĀ½tling  <straetling@de.ibm.com>
+
+       * config/s390/s390.c: (s390_cc_modes_compatible): Move before
+       "s390_emit_compare".  Add handling of CCZ1mode.
+       (s390_canonicalize_comparison): Simplify cascaded EQ, NE.
+       (390_emit_compare): Use "s390_cc_modes_compatible" for mode
+       checking.
+       (s390_branch_condition_mask): Add CCZ1mode handling.
+       * config/s390/s390.md: ("seq", "*seq"): New pattern.
+       ("sync_compare_and_swap_cc<mode>", "*sync_compare_and_swap_cc<mode>"):
+       Use CCZ1mode instead of CCZmode.
+       * config/s390/s390-modes.def: Add CCZ1mode.  Comment new mode.
+
+2006-07-13  Adrian StraeĀ½tling  <straetling@de.ibm.com>
+
+       * config/s390/s390.md: ("cmpstrsi", "*cmpstr<mode>"): New
+       pattern.
+       ("strlen<mode>", "*strlen<mode>"): Use hard reg 0 in SImode.
+
+2005-07-13  Eric Christopher  <echristo@redhat.com>
+
+       * config/mips/mips.c (mips_canonicalize_comparison): New.
+       (mips_emit_int_relational): Use.
+
+2005-07-13  Eric Christopher  <echristo@redhat.com>
+
+        * config.gcc (s390x-ibm-tpf*): Add extra_options. Remove
+        static extra parts.
+        * config/s390/s390.md: Include tpf.md. Move tpf specific
+        patterns...
+        * config/s390/tpf.md: To here.
+        * config/s390/s390.opt: Move tpf specific options...
+        * config/s390/tpf.opt: to here. Add mmain option.
+        * config/s390/tpf-unwind.h: Remove unnecessary defines.
+        * config/s390/tpf.h: Rewrite.
+
+2005-07-13  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * doc/tm.texi: Remove @xref{Cross-profiling}.
+
+2005-07-13  Jeff Law  <law@redhat.com>
+
+       * fold-const.c (fold_binary): When comparing two simple ADDR_EXPR
+       expressions, test their _DECL operands for pointer equality rather
+       than using operand_equal_p.
+
+2005-07-13  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/alpha/linux.h (TARGET_HAS_F_SETLKW): Renamed to ...
+       (TARGET_POSIX_IO): This.
+       * config/darwin.h: Likewise.
+       * config/freebsd.h: Likewise.
+       * config/linux.h: Likewise.
+       * config/lynx.h: Likewise.
+       * config/netbsd.h: Likewise.
+       * config/rs6000/linux64.h: Likewise.
+       * config/rs6000/linux.h: Likewise.
+       * config/s390/tpf.h: Likewise.
+       * config/sh/embed-elf.h: Likewise.
+       * config/sparc/linux64.h: Likewise.
+       * config/sparc/linux.h: Likewise.
+       * config/svr4.h: Likewise.
+       * gcov-io.h: Likewise.
+
+       * doc/tm.texi: Updated.
+
+       * libgcov.c (create_file_directory): Defined only if
+       TARGET_POSIX_IO is defined.
+       (gcov_exit): Call create_file_directory only if TARGET_POSIX_IO
+       is defined.
+
+2005-07-13  Jan Hubicka  <jh@suse.cz>
+
+       * tree-ssa-operands.c (get_expr_operands): Fix typo in previous patch.
+
+2005-07-13  David Edelsohn  <edelsohn@gnu.org>
+
+       * tree-ssa-dom.c (lookup_avail_expr): Do not pass member in freed
+       structure as argument.
+
+2005-07-13  Paolo Bonzini  <bonzini@gnu.org>
+
+       PR tree-optimization/21921
+       * tree-iterator.c (tsi_link_before): Support the case when
+       tsi_end_p (tsi) == true.
+
+2005-07-12  Zdenek Dvorak  <dvorakz@suse.cz>
+
+       PR tree-optimization/22442
+       * tree-chrec.c (chrec_fold_multiply_poly_poly): Associate chrecs
+       correctly.
+
+2005-07-12  Zdenek Dvorak  <dvorakz@suse.cz>
+
+       PR rtl-optimization/20376
+       * toplev.c (process_options): Enable -fweb and -frename-registers when
+       unrolling.
+       * doc/invoke.texi: Update the information about when -fweb and
+       -frename-registers are enabled.
+
+2005-07-12  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       PR tree-opt/21840
+       * tree-ssa-pre.c (eliminate): Convert the sprime to the correct type
+       if *rhs_p is not a SSA_NAME.
+
 2005-07-12  Daniel Berlin  <dberlin@dberlin.org>
        
        Fix PR tree-optimization/22422 
 
 2005-07-12  Eric Christopher  <echristo@redhat.com>
 
+       * config.gcc (s390x-ibm-tpf*): Add extra_options. Remove
+       static extra parts.
+       * config/s390/s390.md: Include tpf.md. Move tpf specific
+       patterns...
+       * config/s390/tpf.md: To here.
+       * config/s390/s390.opt: Move tpf specific options...
+       * config/s390/tpf.opt: to here. Add mmain option.
+       * config/s390/tpf-unwind.h: Remove unnecessary defines.
+       * config/s390/tpf.h: Rewrite.
+
+2005-07-12  Eric Christopher  <echristo@redhat.com>
+
        * gcc.c (struct infile): Update comment for language.
        (main): Rewrite input file resetting code.