OSDN Git Service

enable mdynamic-no-pic bootstrap for x86 Darwin
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 7966532..712366c 100644 (file)
@@ -1,3 +1,291 @@
+2010-11-04  Iain Sandoe  <iains@gcc.gnu.org>
+
+       * gcc/configure.ac: Filter -mdynamic-no-pic from CFLAGS when testing for
+       plugin capabilities.
+       * gcc/configure: Regenerate.
+
+2010-11-03  Xinliang David Li  <davidxl@google.com>
+
+       PR target/46200
+       * tree-ssa-loop-ivopts.c (get_computation_cost_at):
+       Adjust cbase if the use stmt is after iv update.
+
+2010-11-03  Kaz Kojima  <kkojima@gcc.gnu.org>
+
+       * config.gcc (sh64*) <tm_file>: Add newlib-stdint.h for
+       newlib targets.
+
+2010-11-03  Kaz Kojima  <kkojima@gcc.gnu.org>
+
+       * config/sh/sh.c (sh_expand_prologue): Remove unnecessary
+       comment.  Pass true to the last argument of output_stack_adjust.
+
+2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR target/46295
+       * config/i386/i386.c (ix86_expand_vector_move): Set use_avx256_p
+       if 256bit AVX register is used.
+
+2010-11-03  Michael Meissner  <meissner@linux.vnet.ibm.com>
+
+       * config/rs6000/rs6000.c (rs6000_emit_minmax): Add support to use
+       xsmindp/xsmaxdp on VSX for single precision min/max.
+       * config/rs6000/vsx.md (vsx_smaxsf3): Ditto.
+       (vsx_sminsf3): Ditto.
+
+2010-11-03  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * combine.c (try_combine): Fix formatting issues, improve comments and
+       fix a pasto.
+
+2010-11-03  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * tree-tailcall.c (find_tail_calls): Convert the operands to the type
+       of the result before building binary expressions.
+
+2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR rtl-optimization/45865
+       * Makefile.in (df-problems.o): Revert revision 164552.
+       * basic-block.h (enum bb_flags): Likewise.
+       * cfgcleanup.c (block_was_dirty): Likewise.
+       (try_forward_edges): Likewise.
+       (try_crossjump_bb): Likewise.
+       (try_head_merge_bb): Likewise.
+       (try_optimize_cfg): Likewise.
+       (cleanup_cfg): Likewise.
+       * df-core.c (df_set_bb_dirty): Likewise.
+       * df-problems.c: Likewise.
+       (df_simulate_find_uses): Likewise.
+       (MEMREF_NORMAL, MEMREF_VOLATILE): Likewise.
+       (find_memory, find_memory_store): Likewise.
+       (can_move_insns_across): Likewise.
+       * df.h (can_move_insns_across): Likewise.
+       * ifcvt.c (find_memory): Likewise.
+       (dead_or_predicable): Likewise.
+
+2010-11-03  Richard Guenther  <rguenther@suse.de>
+
+       PR middle-end/46288
+       * predict.c (strip_predict_hints): Simply DCE builtin expect if
+       the result is unused.
+
+2010-11-03  Jakub Jelinek  <jakub@redhat.com>
+
+       PR tree-optimization/46009
+       * tree-ssa-phiopt.c (tree_ssa_phiopt_worker): Call
+       cond_if_else_store_replacement if bb1 and bb2 have the same
+       single successor.
+       (cond_store_replacement): Use gimple_assign_single_p, don't
+       check if rhs is SSA_NAME or invariant.  Call release_defs for
+       assign.
+       (cond_if_else_store_replacement): New function.
+
+2010-11-03  Richard Guenther  <rguenther@suse.de>
+
+       * opts.c (finish_options): Properly check for all WHOPR
+       flags before complaining about -flto-partition.
+
+2010-11-04  Alan Modra  <amodra@gmail.com>
+
+       * config/rs6000/rs6000.c (rs6000_pic_labelno): Make static.
+       (rs6000_emit_load_toc_table): Don't use rs6000_pic_labelno when
+       TARGET_SECURE_PLT.
+       * config/rs6000/sysv4.h (rs6000_pic_labelno): Don't declare.
+       * config/rs6000/rs6000.md (load_toc_v4_PIC_3b): Use "b" constraint
+       on input, "r" on output.
+
+2010-11-03  Nicola Pero  <nicola.pero@meta-innovation.com>
+
+       Implemented -fobjc-std=objc1 flag.
+       * doc/invoke.texi (Option Summary): Document -fobjc-std=objc1
+       option.
+       * doc/standards.texi (Standards): Updated the section on
+       Objective-C; mention support for Objective-C 2.0 features and the
+       new -fstd-objc=objc1 flag to disable them.
+
+2010-11-03  Richard Guenther  <rguenther@suse.de>
+
+       PR middle-end/46241
+       * dwarf2out.c (scope_die_for): Properly detect global scope.
+
+2010-11-03  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/46190
+       * tree-vect-data-refs.c (vect_enhance_data_refs_alignment):
+       Properly compute peel iterations.
+
+2010-11-03  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/46286
+       * tree-ssa-structalias.c (get_constraint_for_1): Avoid referencing
+       re-allocated vector data.
+
+2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR target/46285
+       * config/i386/i386.c (ix86_expand_call): Conditionally decorate
+       calls with UNSPEC_CALL_NEEDS_VZEROUPPER unspec before reload
+       is completed.
+
+2010-11-03  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/46217
+       * tree-ssa.c (non_rewritable_mem_ref_base): Check if volatile
+       flag matches.
+       (execute_update_addresses_taken): Likewise.
+
+2010-11-03  Joern Rennecke  <joern.rennecke@embecosm.com>
+
+       PR bootstrap/44335
+       * targhooks.c (targhook_words_big_endian): New function.
+       (targhook_float_words_big_endian): Likewise.
+       * targhooks.h (targhook_words_big_endian): Declare.
+       (targhook_float_words_big_endian): Likewise.
+       * target.def (words_big_endian, float_words_big_endian): New hooks.
+
+2010-11-03  Jakub Jelinek  <jakub@redhat.com>
+
+       PR tree-optimization/46165
+       * tree-ssa-pre.c (eliminate): Return TODO_cleanup_cfg if changing
+       a normal call into noreturn call.
+
+2010-11-03  Richard Guenther  <rguenther@suse.de>
+
+       PR middle-end/46251
+       * builtins.c (expand_builtin_sincos): Properly build MEM_REFs,
+       not INDIRECT_REFs.
+
+2010-11-03  Jakub Jelinek  <jakub@redhat.com>
+
+       PR tree-optimization/46107
+       * cfgloopmanip.c (loop_version): Set irred_flag back into entry->flags
+       if cfg_hook_duplicate_loop_to_header_edge failed.
+
+2010-11-03  Ian Lance Taylor  <iant@google.com>
+
+       PR lto/46273
+       * gcc/config.gcc: Don't set lto_binary_reader.
+       * doc/install.texi (Prerequisites): Remove libelf paragraphs.
+       (Configuration): Mention --disable-lto.  Remove --with-libelf
+       paragraph.
+
+2010-11-03  Jakub Jelinek  <jakub@redhat.com>
+
+       PR debug/46252
+       * reload1.c (delete_dead_insn): Use prev_active_insn instead of
+       prev_real_insn.
+       * gcse.c (insert_insn_end_basic_block): Likewise.
+
+       PR rtl-optimization/46034
+       PR rtl-optimization/46212
+       PR rtl-optimization/46248
+       * combine.c (try_combine): If added_sets_2 where i0dest_in_i0src
+       and i0 feeds i1 and i1 feeds i2 or i0 feeds i2, make a copy of i1src
+       before i0dest -> i0src substitution and pass 1 instead of 0 as last
+       argument to subst on i2pat.
+
+2010-11-02  Ian Lance Taylor  <iant@google.com>
+
+       * configure.ac: Use AC_SYS_LARGEFILE.
+       * configure: Rebuild.
+       * config.in: Rebuild.
+
+2010-11-02  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * builtins.c (fold_builtin_signbit): Use build_zero_cst instead of
+       fold_convert.
+       * c-typeck.c (build_function_call_vec): Likewise.
+       * cfgexpand.c (expand_debug_expr): Likewise.
+       * cgraphunit.c (assemble_thunk): Likewise.
+       * config/sparc/sparc.c (sparc_fold_builtin): Likewise.
+       * fold-const.c (fold_unary_loc, fold_mult_zconjz): Likewise.
+       (fold_binary_loc, fold_ternary_loc): Likewise.
+       * gimple-fold.c (get_symbol_constant_value): Likewise.
+       * gimple-low.c (lower_builtin_setjmp): Likewise.
+       * gimple.c (gimple_cond_get_ops_from_tree): Likewise.
+       * gimplify.c (gimplify_init_constructor): Likewise.
+       * lambda.h (build_linear_expr): Likewise.
+       * omp-low.c (omp_reduction_init): Likewise.
+       * tree-inline.c (remap_ssa_name): Likewise.
+       * tree-object-size.c (compute_object_sizes): Likewise.
+       * tree-sra.c (init_subtree_with_zero): Likewise.
+       (sra_ipa_modify_assign): Likewise.
+       * tree-ssa-copy.c (propagate_tree_value_into_stmt): Likewise.
+       * tree-ssa-reassoc.c (eliminate_duplicate_pair): Likewise.
+       (eliminate_plus_minus_pair, eliminate_not_pairs): Likewise.
+       (undistribute_ops_list): Likewise.
+       * tree-ssa-sccvn.c (vn_reference_lookup_3): Likewise.
+       * tree-vect-stmts.c (vectorizable_call): Likewise.
+       * tree.c (build_vector_from_ctor, build_one_cst): Likewise.
+       (build_zero_cst): Handle more cases directly.  Update comment.
+
+2010-11-02  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/i386/i386-protos.h (ix86_split_call_pop_vzeroupper):
+       Removed.
+       * config/i386/i386.c (ix86_split_call_pop_vzeroupper): Likewise.
+
+       * config/i386/i386.md (*call_pop_0_vzeroupper): Use parallel
+       and call ix86_split_call_vzeroupper instead of
+       ix86_split_call_pop_vzeroupper.
+       (*call_pop_1_vzeroupper): Likewise.
+       (*sibcall_pop_1_vzeroupper): Likewise.
+       (*call_value_pop_0_vzeroupper): Likewise.
+       (*call_value_pop_1_vzeroupper): Likewise.
+       (*sibcall_value_pop_1_vzeroupper): Likewise.
+
+2010-11-02  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/i386/i386.md (*sibcall_1_rex64_vzeroupper): Fix a
+       typo.
+
+2010-11-02  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * basic-block.h (insert_insn_end_bb_new): Delete.
+       * cfgrtl.c (insert_insn_end_bb_new): Likewise.
+
+2010-11-02  Uros Bizjak  <ubizjak@gmail.com>
+           H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/i386/i386-protos.h (ix86_split_call_vzeroupper): New.
+       (ix86_split_call_pop_vzeroupper): Likewise.
+
+       * config/i386/i386.c (move_or_delete_vzeroupper_2): Rewrite the loop.
+       (ix86_expand_call): Conditionally decorate calls with
+       UNSPEC_CALL_NEEDS_VZEROUPPER unspec.
+       (ix86_split_call_vzeroupper): New.
+       (ix86_split_call_pop_vzeroupper): Likewise.
+
+       * config/i386/i386.md (UNSPEC_CALL_NEEDS_VZEROUPPER): New.
+       (*call_pop_0_vzeroupper): New insn_and_split pattern.
+       (*call_pop_1_vzeroupper): Likewise.
+       (*sibcall_pop_1_vzeroupper): Likewise.
+       (*call_0_vzeroupper): Likewise.
+       (*call_1_vzeroupper): Likewise.
+       (*sibcall_1_vzeroupper): Likewise.
+       (*call_1_rex64_vzeroupper): Likewise.
+       (*call_1_rex64_ms_sysv_vzeroupper): Likewise.
+       (*call_1_rex64_large_vzeroupper): Likewise.
+       (*sibcall_1_rex64_vzeroupper): Likewise.
+       (*call_value_pop_0_vzeroupper): Likewise.
+       (*call_value_pop_1_vzeroupper): Likewise.
+       (*sibcall_value_pop_1_vzeroupper): Likewise.
+       (*call_value_0_vzeroupper): Likewise.
+       (*call_value_0_rex64_vzeroupper): Likewise.
+       (*call_value_0_rex64_ms_sysv_vzeroupper): Likewise.
+       (*call_value_1_vzeroupper): Likewise.
+       (*sibcall_value_1_vzeroupper): Likewise.
+       (*call_value_1_rex64_vzeroupper): Likewise.
+       (*call_value_1_rex64_ms_sysv_vzeroupper): Likewise.
+       (*call_value_1_rex64_large_vzeroupper): Likewise.
+       (*sibcall_value_1_rex64_vzeroupper): Likewise.
+
+2010-11-02  Ian Lance Taylor  <iant@google.com>
+
+       PR lto/46273
+       * config.gcc: Revert last patch: set lto_binary_reader.
+
 2010-11-02  Richard Guenther  <rguenther@suse.de>
 
        PR tree-optimization/46149
 
 2010-11-02  Ian Lance Taylor  <iant@google.com>
 
+       * doc/install.texi (Configuration): Note in two places that Java
+       is not enabled by default.
+
+2010-11-02  Ian Lance Taylor  <iant@google.com>
+
+       * doc/install.texi (Prerequisites): Remove libelf paragraphs.
+       (Configuration): Mention --disable-lto.  Remove --with-libelf
+       paragraph.
+
+2010-11-02  Ian Lance Taylor  <iant@google.com>
+
        * configure.ac: Remove elf_getshdrstrndx test.  Don't substitute
        LTO_BINARY_READER or LTO_USE_LIBELF.  Remove LIBELFLIBS and
        LIBELFINC.  Remove HAVE_libelf.
        Define if required.
        (machopic_symbol_defined_p): Do not try to use current_function_decl
        when generating _get_pc thunks within stubs.
-       (machopic_indirect_data_reference): Rework for direct conditionals 
+       (machopic_indirect_data_reference): Rework for direct conditionals
        rather than #ifdefs, add x86 mdynamic-no-pic
        (machopic_legitimize_pic_address): Update to use HAVE_lo_sum with a
        defined value.
        * config/darwin.h (WORD_SWITCH_TAKES_ARG): Remove options included
        in darwin.opt.
        (LINK_COMMAND_SPEC_A): Don't include %{x}.
-       * config/fr30/fr30.h (SWITCH_TAKES_ARG, WORD_SWITCH_TAKES_ARG):
-       Remove.
+       * config/fr30/fr30.h (SWITCH_TAKES_ARG, WORD_SWITCH_TAKES_ARG): Remove.
        * config/freebsd-spec.h (FBSD_SWITCH_TAKES_ARG): Remove.
        * config/freebsd.h (SWITCH_TAKES_ARG): Remove.
-       * config/frv/frv.h (SWITCH_TAKES_ARG, WORD_SWITCH_TAKES_ARG):
-       Remove.
+       * config/frv/frv.h (SWITCH_TAKES_ARG, WORD_SWITCH_TAKES_ARG): Remove.
        * config/i386/djgpp.h (LINK_COMMAND_SPEC): Don't include %{x}.
        * config/ia64/ia64.h (SWITCH_TAKES_ARG): Remove.
-       * config/interix.h (WORD_SWITCH_TAKES_ARG): Don't handle -T
-       options.
+       * config/interix.h (WORD_SWITCH_TAKES_ARG): Don't handle -T options.
        * config/lm32/lm32.h (SWITCH_TAKES_ARG): Remove.
-       * config/m32r/m32r.h (SWITCH_TAKES_ARG, WORD_SWITCH_TAKES_ARG):
-       Remove.
+       * config/m32r/m32r.h (SWITCH_TAKES_ARG, WORD_SWITCH_TAKES_ARG): Remove.
        * config/microblaze/microblaze.h (SWITCH_TAKES_ARG): Remove.
        * config/mips/mips.h (SWITCH_TAKES_ARG): Remove.
        * config/mips/netbsd.h (SWITCH_TAKES_ARG): Remove.
 2010-11-01  Paul Koning  <ni1d@arrl.net>
 
        * config/pdp11/pdp11.md: Use iterators.
-       (addqi3, subqi3, iorsi3, xorsi3): Delete. 
-       
+       (addqi3, subqi3, iorsi3, xorsi3): Delete.
+
 2010-11-01  Steve Ellcey  <sje@cup.hp.com>
 
        * defaults.h (TARGET_VTABLE_USES_DESCRIPTORS): Move under ifdef
        PR tree-optimization/46259
 
        Revert:
-
        2010-10-30  Nathan Froyd  <froydnj@codesourcery.com>
 
        * tree-vect-stmts.c (vect_get_vec_def_for_operand): Use
        instruction encoding.
 
 2010-10-29  Artjoms Sinkarovs <artyom.shinakroff@gmail.com>
-       Andrew Pinski <pinskia@gmail.com>
+           Andrew Pinski <pinskia@gmail.com>
 
        * tree.h (build_vector_from_val): Declare.
        * tree.c (build_vector_from_val): New function.