OSDN Git Service

mn10300: Fix debug offsets into the stack frame
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 1eab500..d00880b 100644 (file)
@@ -1,3 +1,202 @@
+2011-01-11  Richard Henderson  <rth@redhat.com>
+
+       * config/mn10300/mn10300.h (ARG_PIONTER_CFA_OFFSET): New.
+       (DEBUGGER_AUTO_OFFSET): Remove.
+       (DEBUGGER_ARG_OFFSET): Remove.
+
+       * config/mn10300/mn10300.c (mn10300_gen_multiple_store): Make static.
+       Emit register stores with the same offsets as the hardware.
+       (mn10300_store_multiple_operation): Don't check that the register
+       save offsets are monotonic.
+       * config/mn10300/mn10300-protos.h: Update.
+
+       * config/mn10300/mn10300.h (ASM_PN_FORMAT): Delete.
+
+       * config/mn10300/mn10300.h (INCOMING_RETURN_ADDR_RTX): Define
+       in terms of the value on the stack, not the MDR register.
+
+2011-01-11  Jan Hubicka  <jh@suse.cz>
+
+       PR lto/45721
+       PR lto/45375
+       * tree.h (symbol_alias_set_t): Move typedef here from varasm.c
+       (symbol_alias_set_destroy, symbol_alias_set_contains,
+       propagate_aliases_backward): Declare.
+       * lto-streamer-out.c (struct sets): New sturcture.
+       (trivally_defined_alias): New function.
+       (output_alias_pair_p): Rewrite.
+       (output_unreferenced_globals): Fix output of alias pairs.
+       (produce_symtab): Likewise.
+       * ipa.c (function_and_variable_visibility): Set weak alias destination
+       as needed in lto.
+       * varasm.c (symbol_alias_set_t): Remove.
+       (symbol_alias_set_destroy): Export.
+       (propagate_aliases_forward, propagate_aliases_backward): New functions
+       based on ...
+       (compute_visible_aliases): ... this one; remove.
+       (trivially_visible_alias): New
+       (trivially_defined_alias): New.
+       (remove_unreachable_alias_pairs): Rewrite.
+       (finish_aliases_1): Reorganize code checking if alias is defined.
+       * passes.c (rest_of_decl_compilation): Do not call assemble_alias when
+       in LTO mode.
+
+2011-01-11  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/46076
+       * tree-ssa.c (useless_type_conversion_p): Conversions from
+       unprototyped to empty argument list function types are useless.
+
+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  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.
+       * 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.
+       (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-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.
+       * config/darwin.h (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS): New.
 
 2011-01-07  Iain Sandoe  <iains@gcc.gnu.org>