re PR bootstrap/49104 (bootstrap failure on AMD K6-2 with illegal instruction (cmove...
[platform/upstream/gcc.git] / gcc / ChangeLog
index 96d783e..81e2d20 100644 (file)
@@ -1,3 +1,184 @@
+2011-05-22  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR target/49104
+       * config/i386/cpuid.h (bit_MMXEXT): New define.
+
+2011-05-22  Nick Clifton  <nickc@redhat.com>
+
+       * config/stormy16/stormy16.c (xstormy16_init_builtins): prevent
+       initialisation of non-existant args[2] element.  Use args[] array
+       not arg[] array to pass arguments to build_function_type_list.
+
+2011-05-22  Ira Rosen  <ira.rosen@linaro.org>
+
+       PR tree-optimization/49087
+       * tree-vect-loop.c (vect_is_slp_reduction): Fail if LHS has no uses.
+
+2011-05-21  Jason Merrill  <jason@redhat.com>
+
+       PR c++/49092
+       * dwarf2out.c (tree_add_const_value_attribute_for_decl): Check for
+       static storage duration.
+
+2011-05-21  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * config/sparc/sparc.md (setjmp): Handle PIC mode and use the hard
+       frame pointer.
+
+2011-05-21  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * config/sparc/sparc.c (eligible_for_return_delay): Do not return
+       false if there are call-saved registers here...
+       (sparc_can_use_return_insn_p): ...but here instead.
+       (save_or_restore_regs): Fix thinko.
+       (sparc_expand_prologue): Use current_function_is_leaf.
+       (sparc_frame_pointer_required): Likewise.
+
+2011-05-21  Nick Clifton  <nickc@redhat.com>
+
+       PR target/49098
+       * config/rx/rx.c (rx_memory_move_cost): Note unused parameters.
+
+2011-05-21  Nicola Pero  <nicola.pero@meta-innovation.com>
+
+       * gengtype.c (walk_type): Implemented "atomic" GTY option.
+       * doc/gty.texi (GTY Options): Document "atomic" GTY option.
+
+2011-05-21  Joseph Myers  <joseph@codesourcery.com>
+
+       * opt-read.awk: New.  Split out of optc-gen.awk and opth-gen.awk.
+       * optc-gen.awk: Move common code to opt-read.awk.
+       * opth-gen.awk: Likewise.
+       * Makefile.in (options.c, s-options-h): Update to use opt-read.awk.
+
+2011-05-20  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * godump.c (go_format_type): Don't use TYPE_ARG_TYPES.
+
+2011-05-20  Tom de Vries  <tom@codesourcery.com>
+
+       PR target/45098
+       * tree-ssa-loop-ivopts.c: Include expmed.h.
+       (get_shiftadd_cost): New function.
+       (force_expr_to_var_cost): Declare forward.  Use get_shiftadd_cost.
+
+2011-05-20  Jakub Jelinek  <jakub@redhat.com>
+
+       PR bootstrap/49086
+       * gimple-fold.c (and_comparisons_1, or_comparisons_1): Return NULL
+       for PHI args that are SSA_NAME_IS_DEFAULT_DEF.
+
+2011-05-20  Joseph Myers  <joseph@codesourcery.com>
+
+       * Makefile.in: Update comment referring to $(OBJS-common).
+
+2011-05-20  Ian Lance Taylor  <iant@google.com>
+
+       * godump.c (go_output_typedef): Put enum constants in the macro
+       hash table to avoid duplicate Go const definitions.
+
+2011-05-20  Joseph Myers  <joseph@codesourcery.com>
+
+       * Makefile.in (LIBDEPS): Add libcommon.a.
+       (LIBS): Likewise.
+       (GCC_OBJS): Remove diagnostic.o, pretty-print.o and input.o.
+       (OBJS-common): Remove diagnostic.o, input.o, intl.o,
+       pretty-print.o and version.o.
+       (OBJS-libcommon): New.
+       (ALL_HOST_BACKEND_OBJS): Add $(OBJS-libcommon).
+       (BACKEND): Add libcommon.a.
+       (MOSTLYCLEANFILES): Likewise.
+       (libcommon.a): New.
+       (xgcc$(exeext)): Don't explicitly use version.o and intl.o.
+       (cpp$(exeext)): Likewise.
+       (COLLECT2_OBJS): Remove intl.o, version.o, diagnostic.o,
+       pretty-print.o and input.o.
+       (lto-wrapper$(exeext)): Don't explicitly use intl.o.
+       (lto-wrapper.o): Depend on $(DIAGNOSTIC_H).
+       (errors.o): Remove.
+       (mips-tfile): Don't explicitly use version.o.
+       (mips-tdump): Likewise.
+       (gcov.o): Depend on $(DIAGNOSTIC_H).
+       (gcov-dump.o): Depend on intl.h and $(DIAGNOSTIC_H).
+       (GCOV_OBJS): Remove intl.o, version.o and errors.o.
+       (GCOV_DUMP_OBJS): Remove version.o and errors.o.
+       * gcov-dump.c: Include intl.h and diagnostic.h.
+       (main): Initialize diagnostics.
+       * gcov.c: Include diagnostic.h.
+       (fnotice): Remove.
+       (main): Initialize diagnostics.
+       * lto-wrapper.c: Include diagnostic.h.
+       (main): Initialize diagnostics.
+
+2011-05-20  Michael Matz  <matz@suse.de>
+
+       * Makefile.in (OBJS-common, OBJS-md, OBJS-archive): Merge into OBJS.
+
+2011-05-20  Michael Matz  <matz@suse.de>
+           Richard Guenther  <rguenther@suse.de>
+
+       * lto-streamer.c (lto_record_common_node): Don't track seen nodes,
+       use lto_streamer_cache_append directly instead of returning a VEC.
+       (preload_common_node): Remove.
+       (lto_get_common_nodes): Rename to lto_preload_common_nodes, don't
+       track seen nodes.
+       (lto_streamer_cache_create): Call lto_preload_common_nodes.
+
+2011-05-20  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/49079
+       * tree-dfa.c (get_ref_base_and_extent): Handle view-converting
+       MEM_REFs correctly for the trailing array access detection.
+       Special case constants the same way as decls for overall size
+       constraining.
+
+2011-05-20  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/mingw32.h (OUTPUT_QUOTED_STRING): Fix macro
+       argument expansion.
+
+2011-05-20  Jakub Jelinek  <jakub@redhat.com>
+
+       PR tree-optimization/49073
+       * gimple-fold.c (and_comparisons_1, or_comparisons_1): Return NULL if
+       PHI argument is SSA_NAME, whose def_stmt is dominated by the PHI.
+       * tree-ssa-ifcombine.c (tree_ssa_ifcombine): Calculate dominators.
+
+2011-05-20  Richard Guenther  <rguenther@suse.de>
+
+       PR middle-end/48849
+       * gimple.c (gimple_register_canonical_type): Compute TYPE_CANONICAL
+       of pointer types the same way the middle-end does.
+
+2011-05-20  Richard Guenther  <rguenther@suse.de>
+
+       * gimple.c (gimple_register_type_1): Do not fiddle with main-variant
+       or pointer-to chains.  Delay all fixup to uniquify_nodes.
+
+2011-05-19  Quentin Neill  <quentin.neill@amd.com>
+
+       * config/i386/sse.md (fma4_fmsubadd): Use <ssemodesuffix>.
+       (fma4_fmaddsub): Likewise
+
+2011-05-19  Jan Hubicka  <jh@suse.cz>
+
+       * gimple.c (gtc_visited, gtc_ob, type_pair_hash, type_pair_eq): Remove.
+       (GIMPLE_TYPE_PAIR_SIZE): New macro.
+       (type_pair_cache): New static var.
+       (lookup_type_pair): Use fixed sized custom hash; make inline.
+       (gtc_visit, gimple_types_compatible_p, gimple_register_type_1): Update
+       calls of lookup_type_pair.
+       (print_gimple_types_stats): Remove cache stats.
+       (free_gimple_type_tables): Free type_pair_cache instead of gtc_visited
+       and gtc_ob.
+
+2011-05-19  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/i386.c (option_override_internal): Enable TARGET_CMOVE
+       when TARGET_RDRND is active.
+       (ix86_expand_builtin) <case IX86_BUILTIN_RDRAND{16,32,64}_STEP>:
+       Generate dummy SImode target register when target is NULL.
+
 2011-05-19  Joseph Myers  <joseph@codesourcery.com>
 
        * config/arm/arm-fpus.def: New.
        Remove ATTRIBUTE_UNUSED.
        [!USE_GAS]: Call solaris_elf_asm_comdat_section for
        SECTION_LINKONCE sections if HAVE_COMDAT_GROUP.
-       * config/sparc/sparc.c (sparc_solaris_elf_asm_named_section):
-       Likewise.
+       * config/sparc/sparc.c (sparc_solaris_elf_asm_named_section): Likewise.
        * config/i386/sol2-10.h (TARGET_ASM_NAMED_SECTION): Moved ...
        * config/i386/sol2.h (TARGET_ASM_NAMED_SECTION): ... here.
        * config/sparc/sol2.h (TARGET_ASM_CODE_END): Redefine.