OSDN Git Service

2011-01-11 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index f0f2cb6..35b4a69 100644 (file)
@@ -1,3 +1,304 @@
+2011-01-11  Richard Guenther  <rguenther@suse.de>
+
+       PR middle-end/45235
+       * emit-rtl.c (set_mem_attributes_minus_bitpos): Do not mark
+       volatile MEMs as MEM_READONLY_P.
+
+2011-01-11  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/47239
+       * tree-ssa-ccp.c (get_value_from_alignment): Punt for FUNCTION_DECLs.
+
+2011-01-11  Jeff Law  <law@redhat.com>
+
+       * PR tree-optimization/47086
+       * tree-ssa-loop-ivopts.c (find_givs_in_stmt_scev): Do not record
+       IVs from statements that might throw.
+
+2011-01-10  Jan Hubicka  <jh@suse.cz>
+
+       PR lto/45375
+       * lto-cgraph.c (input_profile_summary): Remove overactive sanity check.
+
+2011-01-10  Jan Hubicka  <jh@suse.cz>
+
+       PR lto/45375
+       * profile.c (read_profile_edge_counts): Ignore profile inconistency
+       when correcting profile.
+
+2011-01-10  Jan Hubicka  <jh@suse.cz>
+
+       PR lto/46083
+       * lto-streamer-out.c (pack_ts_function_decl_value_fields): Store
+       DECL_FINI_PRIORITY.
+       * lto-streamer-in.c (unpack_ts_function_decl_value_fields):
+       Restore DECL_FINI_PRIORITY.
+
+2011-01-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * doc/gimple.texi: Fix quoting of multi-word return values in
+       @deftypefn statements.  Ensure presence of return value.  Wrap
+       overlong @deftypefn lines.
+       (is_gimple_operand, is_gimple_min_invariant_address): Remove
+       descriptions of removed functions.
+       * doc/hostconfig.texi (Host Common): Wrap long line, fix quoting
+       of multi-word return value in @deftypefn statement.
+
+2011-01-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * doc/gimple.texi (Temporaries, Operands, Compound Lvalues)
+       (Conditional Expressions, Logical Operators)
+       (Statement and operand traversals): Do not indent smallexample
+       code.  Fix duplicate function argument in example.
+
+2011-01-10  Jeff Law  <law@redhat.com>
+
+       * PR tree-optimization/47141
+       * ipa-split.c (split_function): Handle case where we are
+       returning a value and the return block has a virtual operand phi.
+
+2011-01-10  Jan Hubicka  <jh@suse.cz>
+
+       PR tree-optimization/47234 
+       * tree-pass.h (TODO_rebuild_cgraph_edges): New TODO.
+       (pass_feedback_split_functions): Declare.
+       * passes.c (init_optimization_passes): Add ipa-split as subpass of
+       tree-profile.
+       * ipa-split.c (gate_split_functions): Update comments; disable
+       split-functions for profile_arc_flag and branch_probabilities.
+       (gate_feedback_split_functions): New function.
+       (execute_feedback_split_functions): New function.
+       (pass_feedback_split_functions): New global var.
+
+2011-01-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR lto/46760
+       * tree-inline.c (tree_can_inline_p): Check e->call_stmt before
+       calling gimple_call_set_cannot_inline.
+
+2011-01-10  Iain Sandoe  <iains@gcc.gnu.org>
+
+       * config/darwin-sections.def: Remove unused section.
+
+2011-01-10  Dave Korn  <dave.korn.cygwin@gmail.com>
+
+       PR c++/47218
+       * cgraphunit.c (assemble_thunk): Call resolve_unique_section.
+
+2011-01-09  Nicola Pero  <nicola.pero@meta-innovation.com>
+
+       PR objc/47232
+       * c-parser.c (c_parser_declaration_or_fndef): Improved
+       error message.
+
+2011-01-09  Kai Tietz  <kai.tietz@onevision.com>
+
+       * config/i386/winnt.c (i386_pe_start_function): Make sure
+       to switch back to function's section.
+
+2011-01-09  Iain Sandoe  <iains@gcc.gnu.org>
+
+       PR gcc/46902
+       PR testsuite/46912
+       * plugin.c: Move include of dlfcn.h from here...
+       * system.h: ... to here.
+
+2011-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * doc/cpp.texi (C++ Named Operators): Fix markup for header
+       file name.
+       * doc/cppinternals.texi (Top): Wrap node in @ifnottex to avoid
+       two extra empty pages in PDF output.
+
+2011-01-08  Nicola Pero  <nicola.pero@meta-innovation.com>
+
+       PR objc/47078
+       * c-parser.c (c_parser_objc_type_name): If the type is unknown,
+       for error recovery purposes behave as if it was not specified so
+       that the default type is usd.
+
+2011-01-07  Jan Hubicka  <jh@suse.cz>
+
+       PR tree-optmization/46469
+       * ipa.c (function_and_variable_visibility): Clear needed flags on
+       nodes with external decls; handle weakrefs merging correctly.
+
+2011-01-07  Joseph Myers  <joseph@codesourcery.com>
+
+       * opts.c (finish_options): Set opts->x_flag_opts_finished to true,
+       not false.
+
+2011-01-07  Jan Hubicka  <jh@suse.cz>
+
+       * doc/invoke.texi: (-flto, -fuse-linker-plugin): Update defaults
+       and no longer claim that gold is required for linker plugin.
+       * configure: Regenerate.
+       * gcc.c (PLUGIN_COND): New macro.
+       (LINK_COMMAND_SPEC): Use it.
+       (main): Default to plugin enabled with HAVE_LTO_PLUGIN is set.
+       * config.in (HAVE_LTO_PLUGIN): New.
+       * configure.ac (--with-lto-plugin): New parameter; autodetect
+       HAVE_LTO_PLUGIN.
+
+2011-01-07  Jan Hubicka  <jh@suse.cz>
+
+       PR tree-optimization/46367
+       * ipa-inline.c (cgraph_clone_inlined_nodes): Use original function only
+       when we can update original.
+       (cgraph_mark_inline_edge): Sanity check.
+       * ipa-prop.c (ipa_make_edge_direct_to_target): Sanity check.
+
+2011-01-07  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
+
+       * config/spu/spu.h (ASM_COMMENT_START): Define.
+
+2011-01-07  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR driver/42445
+       * gcc.c (%>S): New.
+       (SWITCH_KEEP_FOR_GCC): Likewise.
+       (set_collect_gcc_options): Check SWITCH_KEEP_FOR_GCC.
+       (do_spec_1): Handle "%>".
+
+       * config/i386/i386.h (CC1_CPU_SPEC): Replace "%<" with "%>".
+
+2011-01-07  Jakub Jelinek  <jakub@redhat.com>
+
+       PR target/47201
+       * config/i386/i386.c (ix86_delegitimize_address): If
+       simplify_gen_subreg fails, return orig_x.
+
+       PR bootstrap/47187
+       * value-prof.c (gimple_stringop_fixed_value): Handle
+       lhs of the call properly.
+
+2011-01-07  Jan Hubicka  <jh@suse.cz>
+
+       PR lto/45375
+       * lto-opt.c (lto_reissue_options): Set flag_shlib.
+
+2011-01-07  Iain Sandoe  <iains@gcc.gnu.org>
+
+       * target.def (function_switched_text_sections): New hook.
+       * doc/tm.texi: Regenerated.
+       * doc/tm.texi.in (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS): New.
+       * final.c (default_function_switched_text_sections): New.
+       (final_scan_insn): Call function_switched_text_sections when a
+       mid-function section change occurs.
+       * output.h (default_function_switched_text_sections): Declare.
+       * config/darwin-protos.h (darwin_function_switched_text_sections):
+       Likewise.
+       * config/darwin.c (darwin_function_switched_text_sections): New.
+       * config/darwin.h (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS): New.
+
+2011-01-07  Iain Sandoe  <iains@gcc.gnu.org>
+
+       * dwarf2out.c (gen_subprogram_die):  Add pubnames with code ranges for
+       DWARF >= 3.  Add pubnames for the primary section and a reduced DIE for
+       the secondary code fragment when outputting for DWARF == 2.
+
+2011-01-07  Anatoly Sokolov  <aesok@post.ru>
+
+       * config/xtensa/xtensa.h (OUTPUT_ADDR_CONST_EXTRA): Remove.
+       * config/xtensa/xtensa-protos.h (xtensa_output_addr_const_extra):
+       Remove.
+       * config/xtensa/xtensa.c (xtensa_output_addr_const_extra): Make static.
+       (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define.
+
+2011-01-06  Eric Botcazou  <ebotcazou@adacore.com>
+
+       PR debug/46704
+       * dwarf2out.c (dwarf2out_finish): Output the debug_aranges section
+       only when it is not empty.
+
+2011-01-06  Changpeng Fang  <changpeng.fang@amd.com>
+
+       Bobcat Enablement
+       * config.gcc (i[34567]86-*-linux* | ...): Add btver1.
+       (case ${target}): Add btver1.
+       * config/i386/driver-i386.c (host_detect_local_cpu): Let
+       -march=native recognize btver1 processors.
+       * config/i386/i386-c.c (ix86_target_macros_internal): Add
+       btver1 def_and_undef
+       * config/i386/i386.c (struct processor_costs btver1_cost): New
+       btver1 cost table.
+       (m_BTVER1): New definition.
+       (m_AMD_MULTIPLE): Includes m_BTVER1.
+       (initial_ix86_tune_features): Add btver1 tune.
+       (processor_target_table): Add btver1 entry.
+       (static const char *const cpu_names): Add btver1 entry.
+       (software_prefetching_beneficial_p): Add btver1.
+       (ix86_option_override_internal): Add btver1 instruction sets.
+       (ix86_issue_rate): Add btver1.
+       (ix86_adjust_cost): Add btver1.
+       * config/i386/i386.h (TARGET_BTVER1): New definition.
+       (enum target_cpu_default): Add TARGET_CPU_DEFAULT_btver1.
+       (enum processor_type): Add PROCESSOR_BTVER1.
+       * config/i386/i386.md (define_attr "cpu"): Add btver1.
+
+2011-01-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       PR target/43309
+       * config/i386/i386.c (legitimize_tls_address)
+       <TLS_MODEL_INITIAL_EXEC>: Handle TARGET_64BIT && TARGET_SUN_TLS.
+       * config/i386/i386.md (UNSPEC_TLS_IE_SUN): Declare.
+       (tls_initial_exec_64_sun): New pattern.
+
+2011-01-06  Gerald Pfeifer  <gerald@pfeifer.com>
+
+       * doc/invoke.texi (Overall Options): Improve wording and markup
+       of the description of -wrapper.
+
+2011-01-06  Joseph Myers  <joseph@codesourcery.com>
+
+       * config/sol2.opt (G, YP,, Ym,, compat-bsd, pthread, pthreads,
+       rdynamic, threads): New Driver options.
+
+2011-01-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       PR target/38118
+       * config/sol2.h (ASM_OUTPUT_ALIGNED_COMMON): Also switch to .bss
+       if coming from .tdata.
+       * config/i386/sol2-10.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
+
+2011-01-06  Jan Hubicka  <jh@suse.cz>
+
+       PR lto/47188
+       * collect2.c (main): Do not enable LTOmode when plugin is active.
+
+2011-01-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       PR other/45915
+       * configure.ac (gcc_cv_as_gnu_unique_object): Only use ldd
+       --version output if supported.
+       * configure: Regenerate.
+
+2011-01-06  Joseph Myers  <joseph@codesourcery.com>
+
+       * config/linux-android.opt (tno-android-cc, tno-android-ld): New
+       Driver options.
+
+2011-01-06  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c/47150
+       * c-convert.c (convert): When converting a complex expression
+       other than COMPLEX_EXPR to a different complex type, ensure
+       c_save_expr is called instead of save_expr, unless in_late_binary_op.
+       * c-typeck.c (convert_for_assignment): Set in_late_binary_op also
+       when converting COMPLEX_TYPE.
+
+2011-01-06  Ira Rosen  <irar@il.ibm.com>
+
+       PR tree-optimization/47139
+       * tree-vect-loop.c (vect_is_simple_reduction_1): Check that
+       only the last reduction value is used outside the loop.  Update
+       documentation.
+
+2011-01-05  Joseph Myers  <joseph@codesourcery.com>
+
+       * config/rtems.opt: New.
+       * config.gcc (*-*-rtems*): Use rtems.opt.
+
 2011-01-05  Changpeng Fang  <changpeng.fang@amd.com>
 
        * config/i386/i386.c (ix86_option_override_internal): Bulldozer