1. 29 Apr, 2011 8 commits
    • lto-streamer.c (lto_streamer_cache_insert_1): Accept to override other trees that just builtins. · b823cdfe
      	* lto-streamer.c (lto_streamer_cache_insert_1): Accept to override
      	other trees that just builtins.
      	(lto_record_common_node): Don't leave NULL TYPE_CANONICAL.
      
      lto/
      	* lto.c (toplevel): Include tree-flow.h.
      	(lto_read_in_decl_state): Don't merge types here.
      	(tree_with_vars): New static hash table.
      	(remember_with_vars): New static functions.
      	(LTO_FIXUP_TYPE): New macro.
      	(lto_ft_common, lto_ft_decl_minimal, lto_ft_decl_common,
      	lto_ft_decl_with_vis, lto_ft_decl_non_common, lto_ft_function,
      	lto_ft_field_decl, lto_ft_type, lto_ft_binfo, lto_ft_constructor,
      	lto_ft_expr, lto_fixup_types, uniquify_nodes): New static functions.
      	(lto_read_decls): Uniquify while reading in trees.
      	(lto_fixup_data_t, LTO_FIXUP_SUBTREE,
      	LTO_REGISTER_TYPE_AND_FIXUP_SUBTREE, no_fixup_p, lto_fixup_common,
      	lto_fixup_decl_minimal, lto_fixup_decl_common, lto_fixup_decl_with_vis,
      	lto_fixup_decl_non_common, lto_fixup_function, lto_fixup_field_decl,
      	lto_fixup_type, lto_fixup_binfo, lto_fixup_constructor,
      	lto_fixup_tree): Remove.
      	(lto_fixup_state): Remove data argument.  Use
      	lto_symtab_prevailing_decl.
      	(LTO_SET_PREVAIL, LTO_NO_PREVAIL): New macros.
      	(lto_fixup_prevailing_decls): New function.
      	(lto_fixup_state_aux): Argument aux is unused.
      	(lto_fixup_decls): Don't allocate pointer sets, don't use
      	lto_fixup_tree, use lto_fixup_prevailing_decls.
      	(read_cgraph_and_symbols): Allocate and remove tree_with_vars.
      	* Make-lang.in (lto/lto.o): Depend on $(TREE_FLOW_H).
      
      From-SVN: r173155
      Michael Matz committed
    • misc.c (gnat_handle_option): Set warn_maybe_uninitialized. · fa5e5a76
      ada/
      	* gcc-interface/misc.c (gnat_handle_option): Set
      	warn_maybe_uninitialized.
      
      fortran/
      	* options.c (options.c): Set warn_maybe_uninitialized.
      
      From-SVN: r173154
      Michael Matz committed
    • tree-nested.c (get_trampoline_type): Use size_int. · 413581ba
      2011-04-29  Richard Guenther  <rguenther@suse.de>
      
      	* tree-nested.c (get_trampoline_type): Use size_int.
      	(get_nl_goto_field): Likewise.
      	* tree-eh.c (lower_try_finally_switch): Use integer_type_node
      	for all indexes.
      	(lower_eh_constructs_2): Likewise.
      	(lower_resx): Likewise.
      	(lower_eh_dispatch): Likewise.
      	* tree-mudflap.c (mf_build_string): Use size_int.
      	(mudflap_register_call): Use integer_type_node for the flag.
      	(mudflap_enqueue_constant): Use size_int.
      	* tree-chrec.c (reset_evolution_in_loop): Copy CHREC_VAR
      	instead of rebuilding it.
      
      From-SVN: r173153
      Richard Guenther committed
    • tree-ssa-structalias.c (get_fi_for_callee): Restructure. · 5c04e9f4
      2011-04-29  Richard Guenther  <rguenther@suse.de>
      
      	* tree-ssa-structalias.c (get_fi_for_callee): Restructure.
      	Handle OBJ_TYPE_REF.
      	(find_func_aliases_for_call): Use it more consistently.
      
      From-SVN: r173152
      Richard Guenther committed
    • osf.S (UA_SI, [...]): Define. · 9d9305ea
      	* src/alpha/osf.S (UA_SI, FDE_ENCODING, FDE_ENCODE, FDE_ARANGE):
      	Define.
      	Use them to handle ELF vs. ECOFF differences.
      	[__osf__] (_GLOBAL__F_ffi_call_osf): Define.
      
      From-SVN: r173151
      Rainer Orth committed
    • haifa-sched.c (last_nondebug_scheduled_insn): New. · 5c24671b
      * haifa-sched.c (last_nondebug_scheduled_insn): New.
      (rank_for_schedule): Use it.
      (schedule_block): Set it.
      
      From-SVN: r173150
      Alexandre Oliva committed
    • split checksum into cfg checksum and line checksum · 10adac51
      From-SVN: r173147
      Xinliang David Li committed
    • Daily bump. · 112cee35
      From-SVN: r173146
      GCC Administrator committed
  2. 28 Apr, 2011 28 commits
  3. 27 Apr, 2011 4 commits
    • re PR fortran/48788 (ICE: SIGSEGV in resolve_global_procedure (resolve.c:2190)… · fa9f7c70
      re PR fortran/48788 (ICE: SIGSEGV in resolve_global_procedure (resolve.c:2190) on invalid (?) fortran code)
      
      2011-04-27  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/48788
              * resolve.c (resolve_global_procedure): Error recovery -
              avoid segfault for (non)character-returning functions.
      
      2011-04-27  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/48788
              * gfortran.dg/whole_file_34.f90: New.
      
      From-SVN: r173048
      Tobias Burnus committed
    • move.h (move_if_noexcept): Add. · 1f428429
      2011-04-27  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* include/bits/move.h (move_if_noexcept): Add.
      	* testsuite/20_util/move_if_noexcept/requirements/
      	explicit_instantiation.cc: New.
      	* testsuite/20_util/move_if_noexcept/1.cc: Likewise.
      
      From-SVN: r173044
      Paolo Carlini committed
    • i386.md (ssemodesuffix): Merge with ssevecsize, ssemodefsuffix,… · cbb734aa
      i386.md (ssemodesuffix): Merge with ssevecsize, ssemodefsuffix, ssescalarmodesuffix and avxmodesuffixp.
      
      	* config/i386/i386.md (ssemodesuffix):  Merge with ssevecsize,
      	ssemodefsuffix, ssescalarmodesuffix and avxmodesuffixp.
      	Move from sse.md.
      	(ssemodefsuffix): Remove.
      	(ssevecmodesuffix): New mode attribute.
      	(fix_trunc<mode>di_sse, fix_trunc<mode>si_sse,
      	*float<SSEMODEI24:mode><MODEF:mode>2_mixed_interunit,
      	*float<SSEMODEI24:mode><MODEF:mode>2_mixed_nointerunit,
      	*float<SSEMODEI24:mode><MODEF:mode>2_sse_interunit,
      	*float<SSEMODEI24:mode><MODEF:mode>2_sse_nointerunit, setcc_<mode>_sse,
      	*sqrt<mode>2_sse, sse4_1_round<mode>2, <smaxmin:code><mode>3,
      	*ieee_smin<mode>3, *ieee_smax<mode>3): Adjust assembler templates for
      	ssemodesuffix mode attribute.
      	(float splitters): Use ssevecmodesuffix mode attribute.
      	* config/i386/sse.md (ssescalarmode): Merge with avxscalarmode.
      	(sseinsmode): Rename from avxvecmode.
      	(avxsizesuffix): Rename from avxmodesuffix.
      	(sseintvecmode): Rename from avxpermvecmode.
      	(ssedoublevecmode): Rename from ssedoublesizemode.
      	(ssehalfvecmode): Rename from avxhalfvecmode.
      	(ssescalarmode): Rename from avxscalarmode.
      	(<sse>_comi, <sse>_ucomi, sse4a_movnt<mode>): Adjust assembler
      	templates for ssemodesuffix mode attribute.
      	(*andnot<mode>3, *<any_logic:code><mode>3): Use ssevecmodesuffix
      	mode attribute.
      
      	Adjust RTX patterns globally for renamed mode attributes.
      
      From-SVN: r173043
      Uros Bizjak committed
    • inline-9.c: New testcase. · 991278ab
      	* testsuite/gcc.dg/tree-ssa/inline-9.c: New testcase.
      	* ipa-inline.h (struct inline_edge_summary): Add predicate pointer.
      	* ipa-inline-analysis.c: Include alloc-pool.h.
      	(edge_predicate_pool): New.
      	(trye_predicate_p): New function
      	(false_predicate_p): New function.
      	(add_clause): Sanity check that false clauses are "optimized";
      	never add clauses to predicate that is already known to be false.
      	(and_predicate): Use flase_predicate_p.
      	(evaulate_predicate): Rename to ...
      	(evaluate_predicate): ... this one; update all callers; assert
      	that false is not listed among possible truths.
      	(dump_predicate): Use true_predicate_p.
      	(account_size_time): Use false_predicate_p.
      	(evaulate_conditions_for_edge): Rename to ...
      	(evaluate_conditions_for_edge) ... this one.
      	(edge_set_predicate): New function.
      	(inline_edge_duplication_hook): Duplicate edge predicates.
      	(inline_edge_removal_hook): Free edge predicates.
      	(dump_inline_edge_summary): Add INFO parameter; dump
      	edge predicates.
      	(dump_inline_summary): Update.
      	(estimate_function_body_sizes): Set edge predicates.
      	(estimate_calls_size_and_time): Handle predicates.
      	(estimate_callee_size_and_time): Update.
      	(remap_predicate): Add toplev_predicate; update comment.
      	(remap_edge_predicates): New function.
      	(inline_merge_summary): Compute toplev predicate; update.
      	(read_predicate): New function.
      	(read_inline_edge_summary): Use it.
      	(inline_read_section): Likewise.
      	(write_predicate): New function.
      	(write_inline_edge_summary): Use it.
      	(inline_write_summary): Likewise.
      	(inline_free_summary): Free alloc pool and edge summary vec.
      
      From-SVN: r173042
      Jan Hubicka committed