OSDN Git Service

* config/i386/i386-protos.h (x86_maybe_negate_const_int): Declare.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 5ff8035..a2ed1b6 100644 (file)
@@ -1,3 +1,226 @@
+2010-04-06  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/i386-protos.h (x86_maybe_negate_const_int): Declare.
+       * config/i386/i386.c (x86_maybe_negate_const_int): New.
+       (x86_output_mi_thunk): Use x86_maybe_negate_const_int.
+       * config/i386/i386.md (*add<mode>_1, *addsi_1_zext, *addhi_1,
+       *addhi_1_lea, *addqi_1, *addqi_1_lea, *addqi_1_slp, *add<mode>_2,
+       *addsi_2_zext, *addhi_2, *addqi_2, *add<mode>_3, *addsi_3_zext,
+       *addhi_3, *addqi_3,*add<mode>_5, *addhi_5, *addqi_5):
+       Use x86_maybe_negate_const_int to output insn mnemonic.
+       (*adddi_4, *addsi_4, *addhi_4, *addqi_4): Ditto.  Remove overflow
+       check from instruction predicate.  Update comments.
+       * config/i386/sync.md (sync_add<mode>): Use
+       x86_maybe_negate_const_int to output insn mnemonic.
+
+
+2010-04-06  Jan Hubicka  <jh@suse.cz>
+
+       PR tree-optimization/42906
+       * tree-ssa-dce.c (mark_control_dependent_edges_necessary): Add
+       IGNORE_SELF argument.  Set visited_control_parents for fully
+       processed BBs.
+       (find_obviously_necessary_stmts): Update call of
+       mark_control_dependent_edges_necessary.
+       (propagate_necessity): Likewise.  Handle PHI edges more curefully.
+
+2010-04-06  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/i386.md: Remove comment about 'e' and 'E'
+       operand modifier.
+
+2010-04-06  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/43627
+       * tree-vrp.c (extract_range_from_unary_expr): Widenings
+       of [1, +INF(OVF)] go to [1, +INF(OVF)] of the wider type,
+       not varying.
+
+2010-04-06  Jakub Jelinek  <jakub@redhat.com>
+
+       * BASE-VER: Change to 4.6.0.
+
+       PR target/43638
+       * config/i386/i386.c (print_operand): Remove 'e' and 'E' code
+       handling.
+
+2010-04-06  Richard Guenther  <rguenther@suse.de>
+
+       PR middle-end/43661
+       * fold-const.c (fold_comparison): Handle X * 0 CMP 0.
+
+2010-04-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * doc/invoke.texi (Optimize Options): Document that LTO
+       won't remove object access purely due to incompatible
+       declarations.
+
+2010-04-04  Matthias Klose  <doko@ubuntu.com>
+
+       * graphite-sese-to-poly.c (translate_scalar_reduction_to_array):
+       Initialize variable.
+
+2010-04-03  Richard Guenther  <rguenther@suse.de>
+
+       PR middle-end/42509
+       * alias.c (nonoverlapping_memrefs_p): For spill-slot accesses
+       require a non-NULL MEM_OFFSET.
+
+2010-04-02  Steven Bosscher  <steven@gcc.gnu.org>
+
+       * ada/gcc-interface/Make-lang.in, alias.c, attribs.c, auto-inc-dec.c,
+       basic-block.h, bb-reorder.c, calls.c, c-common.c, cgraph.h,
+       collect2.h, config/alpha/alpha.c, config/alpha/alpha.md,
+       config/alpha/predicates.md, config/arm/arm.md,
+       config/arm/lib1funcs.asm, config/arm/neon-schedgen.ml,
+       config/avr/avr.c, config/avr/avr.md, config/bfin/bfin.c,
+       config/darwin9.h, config/darwin.c, config/darwin.h,
+       config/h8300/h8300.c, config/i386/cpuid.h, config/i386/cygming.h,
+       config/i386/cygwin.h, config/i386/mingw32.h, config/i386/msformat-c.c,
+       config/i386/sol2-10.h, config/i386/xopintrin.h, config/ia64/ia64.c,
+       config/ia64/ia64.md, config/ia64/sync.md, config/mep/mep.c,
+       config/mips/mips.md, config/mn10300/mn10300.c,
+       config/mn10300/mn10300.h, config/pa/pa.c, config/pa/pa.md,
+       config/rs6000/aix.h, config/rs6000/dfp.md,
+       config/rs6000/rs6000-builtin.def, config/rs6000/rs6000-c.c,
+       config/rs6000/vector.md, config/rtems.h, config/rx/rx.md,
+       config/s390/s390.md, config/sol2-c.c, config/sparc/sol2-bi.h,
+       config/sparc/sol2-gas.h, config/sparc/sparc.h, config/sparc/sparc.md,
+       config/sparc/sparc-protos.h, config/spu/spu.c, config/spu/spu-c.c,
+       config/t-darwin, convert.c, c.opt, c-opts.c, cp/Make-lang.in,
+       c-pretty-print.c, c-typeck.c, df-core.c, df-scan.c, diagnostic.c,
+       diagnostic.h, doc/cppopts.texi, doc/cpp.texi, doc/extend.texi,
+       doc/gimple.texi, doc/languages.texi, doc/plugins.texi, doc/rtl.texi,
+       doc/standards.texi, doc/tree-ssa.texi, doc/trouble.texi, dominance.c,
+       fold-const.c, fortran/Make-lang.in, fwprop.c, gcc-plugin.h,
+       gensupport.c, gimple.h, gimple-iterator.c, graphite.c,
+       graphite-clast-to-gimple.c, graphite-clast-to-gimple.h,
+       graphite-dependences.c, graphite-poly.c, graphite-poly.h,
+       graphite-ppl.c, graphite-ppl.h, graphite-scop-detection.c,
+       graphite-sese-to-poly.c, graphite-sese-to-poly.h, ifcvt.c, intl.c,
+       intl.h, ipa.c, ipa-cp.c, ipa-inline.c, ipa-prop.c, ipa-prop.h,
+       ipa-pure-const.c, ipa-reference.c, ipa-type-escape.c, ira-color.c,
+       ira-conflicts.c, ira-lives.c, java/Make-lang.in, lambda-code.c,
+       loop-invariant.c, lto/Make-lang.in, lto-streamer.h, lto-streamer-in.c,
+       objc/Make-lang.in, objcp/Make-lang.in, omp-low.c, optc-gen.awk,
+       opt-functions.awk, opth-gen.awk, params.def, passes.c,
+       postreload-gcse.c, print-tree.c, recog.c, regrename.c, reload.h,
+       rtl.def, sched-int.h, sched-rgn.c, sel-sched-dump.c, sese.c, sese.h,
+       store-motion.c, stor-layout.c, tree-cfgcleanup.c, tree-chrec.c,
+       tree-complex.c, tree-data-ref.c, tree.def, tree-eh.c, tree-flow.h,
+       tree-flow-inline.h, tree.h, tree-loop-distribution.c, tree-outof-ssa.c,
+       tree-parloops.c, tree-pass.h, tree-predcom.c, tree-profile.c,
+       tree-scalar-evolution.c, tree-ssa-address.c, tree-ssa-alias.c,
+       tree-ssa-coalesce.c, tree-ssa-copy.c, tree-ssa-dce.c, tree-ssa-dom.c,
+       tree-ssa-dse.c, tree-ssa-loop-im.c, tree-ssa-loop-ivcanon.c,
+       tree-ssa-loop-manip.c, tree-ssa-math-opts.c, tree-ssa-operands.c,
+       tree-ssa-pre.c, tree-ssa-sccvn.c, tree-ssa-structalias.c,
+       tree-ssa-uncprop.c, tree-tailcall.c, tree-vect-data-refs.c,
+       tree-vect-loop.c, tree-vectorizer.h, tree-vect-slp.c, tree-vrp.c,
+       unwind-dw2-fde-darwin.c, varpool.c: Update copyright years.
+
+2010-04-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       PR other/43620
+       * doc/install.texi (Prerequisites): Bump Automake version to 1.11.1.
+       * aclocal.m4: Regenerate.
+
+2010-04-02  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/43629
+       * tree-ssa-ccp.c (likely_value): Reset all_undefined_operands
+       if we have seen a constant value.
+
+2010-04-02  Joseph Myers  <joseph@codesourcery.com>
+
+       * read-rtl.c (read_rtx_1): Give an error for EOF while looking for
+       ']'.
+
+2010-04-02  Richard Earnshaw  <rearnsha@arm.com>
+
+       PR target/43469
+       * arm.c (legitimize_tls_address): Adjust call to
+       gen_tls_load_dot_plus_four.
+       (arm_note_pic_base): New function.
+       (arm_cannot_copy_insn_p): Use it.
+       * thumb2.md (tls_load_dot_plus_four): Rework to avoid use of '+' in
+       constraint.
+
+2010-04-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       PR bootstrap/43531
+
+       Revert:
+       2009-09-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * Makefile.in ($(out_object_file)): Depend on
+       gt-$(basename $(notdir $(out_file))).h.
+
+2010-04-01  Ralf Corsépius <ralf.corsepius@rtems.org>
+
+        * config.gcc (lm32-*-rtems*): Add t-lm32.
+
+2010-04-01  Joel Sherrill <joel.sherrill@oarcorp.com>
+
+        * config.gcc: Add lm32-*-rtems*.
+        * config/lm32/rtems.h: New file.
+
+2010-04-01  Dave Korn  <dave.korn.cygwin@gmail.com>
+
+       PR target/42609
+       * config/i386/cygwin.h (CXX_WRAP_SPEC): Disable spec when -mno-cygwin.
+
+2010-04-01  Jakub Jelinek  <jakub@redhat.com>
+
+       * dwarf2out.c (output_compilation_unit_header): For
+       -gdwarf-4 use version 4 instead of version 3.
+       (output_line_info): For version 4 and above emit additional
+       maximum ops per insn header field.
+       (DWARF_LINE_DEFAULT_MAX_OPS_PER_INSN): Define.
+
+       * dwarf2out.c (is_c_family, is_java): Remove.
+       (lower_bound_default): New function.
+       (add_bound_info, gen_descr_array_type_die): Use it.
+
+2010-04-01  Dodji Seketeli  <dodji@redhat.com>
+
+       PR debug/43325
+       * dwarf2out.c (gen_variable_die): Allow debug info for variable
+       re-declaration when it happens in a function.
+
+2010-04-01  Aldy Hernandez  <aldyh@redhat.com>
+
+       * cgraph.c (cgraph_add_function_insertion_hook): Update comment.
+       (cgraph_remove_function_insertion_hook): Same.
+       (cgraph_call_function_insertion_hooks): Same.
+
+2010-04-01  Richard Guenther  <rguenther@suse.de>
+
+       PR middle-end/43614
+       * tree-ssa-address.c (copy_mem_ref_info): Copy TREE_SIDE_EFFECTS
+       and TREE_THIS_VOLATILE.
+       (copy_ref_info): Likewise.
+       * tree-ssa-operands.c (get_tmr_operands): Check TREE_THIS_VOLATILE.
+       * tree.c (build6_stat): Ignore side-effects of all but arg5
+       for TARGET_MEM_REF.  Set TREE_THIS_VOLATILE from arg5 of
+       TARGET_MEM_REF.
+
+2010-04-01  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/43607
+       * ipa-type-escape.c (check_call): Do not access non-existing
+       arguments.
+
+2010-04-01  Richard Guenther  <rguenther@suse.de>
+
+       PR middle-end/43602
+       Revert
+       2010-03-30  Seongbae Park <seongbae.park@gmail.com>
+           Jack Howarth <howarth@bromo.med.uc.edu>
+
+       * tree-profile.c (tree_init_ic_make_global_vars): Make static
+       variables TLS.
+
 2010-04-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
 
        * doc/install.texi (Prerequisites): Document libelf usability on