1. 29 Apr, 2011 9 commits
    • tree-inline.c (remap_eh_region_tree_nr): Use integer_type_node for the remapped region number. · 9f616812
      2011-04-29  Richard Guenther  <rguenther@suse.de>
      
      	* tree-inline.c (remap_eh_region_tree_nr): Use integer_type_node
      	for the remapped region number.
      	* predict.c (build_predict_expr): Use integer_type_node for the
      	predict kind.
      	* fold-const.c (fold_binary_loc): Use integer_type_node for
      	the shift amount.  Use a proper type for the PLUS_EXPR operand.
      
      From-SVN: r173156
      Richard Guenther committed
    • 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 3 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