1. 11 Apr, 2012 27 commits
    • lto.c: Update copyright... · a66dc285
      
      	* lto.c: Update copyright; remove params.h, ipa-inline.h
      	and ipa-utils.h inlines; inline lto-partition.h
      	(ltrans_partition_def, ltrans_partition, add_cgraph_node_to_partition,
      	add_varpool_node_to_partition, new_partition, free_ltrans_partitions,
      	add_references_to_partition, add_cgraph_node_to_partition_1,
      	add_cgraph_node_to_partition, add_varpool_node_to_partition,
      	undo_partition, partition_cgraph_node_p, partition_varpool_node_p,
      	lto_1_to_1_map, node_cmp, varpool_node_cmp, lto_balanced_map,
      	promote_var, promote_fn, lto_promote_cross_file_statics): move to...
      	* lto-partition.c: ... here; new file.
      	* lto-partition.h: New file.
      	* Make-lang.in (lto.o): Update dependencies.
      	(lto-partition.o): New.
      
      From-SVN: r186343
      Jan Hubicka committed
    • Remove TODO_dump_func completely · c634f4ba
      From-SVN: r186342
      Xinliang David Li committed
    • Check [SUB]SUBTARGET_OVERRIDE_OPTIONS after TARGET_64BIT · ed6205b7
      	* config/i386/i386.c (ix86_option_override_internal): Check
      	SUBTARGET_OVERRIDE_OPTIONS and SUBSUBTARGET_OVERRIDE_OPTIONS
      	after TARGET_64BIT is updated.
      
      From-SVN: r186339
      H.J. Lu committed
    • forward_list.h (splice_after(const_iterator, forward_list&), [...]): Add per… · 78263296
      forward_list.h (splice_after(const_iterator, forward_list&), [...]): Add per C++11 as published (and LWG 1310).
      
      2012-04-11  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* include/bits/forward_list.h (splice_after(const_iterator,
      	forward_list&), splice_after(const_iterator, forward_list&,
      	consst_iterator), splice_after(const_iterator, forward_list&,
      	const_iterator, const_iterator), merge(forward_list&),
      	merge(forward_list&, _Comp)): Add per C++11 as published (and
      	LWG 1310).
      	* include/debug/forward_list: Adjust.
      
      	* include/bits/forward_list.h (splice_after(const_iterator,
      	forward_list&&, const_iterator)): Only declare.
      	(_M_transfer_after): Remove.
      	(_M_splice_after(const_iterator, forward_list&&)): Change signature.
      	(splice_after(const_iterator, forward_list&&, const_iterator,
      	const_iterator)): Use the latter.
      	* include/bits/forward_list.tcc (splice_after(const_iterator,
      	forward_list&&, const_iterator)): Define here.
      	(_M_splice_after): Define, use throughout.
      
      	* include/bits/forward_list.h (insert_after(const_iterator,
      	std::initializer_list<_Tp>)): Forward to insert_after(const_iterator,
      	_InputIterator, _InputIterator).
      	* include/bits/forward_list.tcc: Remove definition.
      
      	* testsuite/23_containers/forward_list/modifiers/6.cc: New.
      	* testsuite/23_containers/forward_list/operations/1.cc: Adjust.
      
      From-SVN: r186338
      Paolo Carlini committed
    • Fix java bootstrap on 32-bit targets · 3dee4905
      	* jcf-dump.c (print_constant): Cast JPOOL_USHORT2, JPOOL_USHORT1
      	results to long to match formats.
      
      From-SVN: r186330
      Rainer Orth committed
    • sh.h: Remove old secondary reload code. · a1fa0e6c
      	* config/sh/sh.h: Remove old secondary reload code.
      
      From-SVN: r186328
      Oleg Endo committed
    • sh.c (SCHED_REORDER): Merge macro into ... · e6b8b8c7
      	* config/sh/sh.c (SCHED_REORDER): Merge macro into ...
      	(ready_reorder): ... this function.
      
      From-SVN: r186327
      Oleg Endo committed
    • c6x.md (load_got_gotoff): Set op_pattern attribute to unknown. · 0c51653d
      	* config/c6x/c6x.md (load_got_gotoff): Set op_pattern attribute to
      	unknown.
      
      From-SVN: r186326
      Bernd Schmidt committed
    • haifa-sched.c (prune_ready_list): Rework handling of SCHED_GROUP_P insns so that… · 05641603
      haifa-sched.c (prune_ready_list): Rework handling of SCHED_GROUP_P insns so that no other insn is queued for a...
      
      	* haifa-sched.c (prune_ready_list): Rework handling of SCHED_GROUP_P
      	insns so that no other insn is queued for a time before them.
      
      From-SVN: r186325
      Bernd Schmidt committed
    • sel-sched.c (sel_global_init): Swap order of sched_rgn_init and sched_init calls. · 7861732f
      	* sel-sched.c (sel_global_init): Swap order of sched_rgn_init and
      	sched_init calls.
      
      From-SVN: r186324
      Bernd Schmidt committed
    • re PR middle-end/52621 (ICE with -O3 -march=opteron in initialize_matrix_A, at… · 754870ed
      re PR middle-end/52621 (ICE with -O3 -march=opteron in initialize_matrix_A, at tree-data-ref.c:1964)
      
      2012-04-11  Richard Guenther  <rguenther@suse.de>
      
      	PR middle-end/52621
      	* tree-chrec.c (evolution_function_is_invariant_rec_p): Properly
      	consider loop nesting.
      	(evolution_function_is_univariate_p): Properly check the remainder
      	for chrecs.
      
      	* gfortran.dg/pr52621.f90: New testcase.
      
      From-SVN: r186321
      Richard Guenther committed
    • re PR target/52918 (ICE: Invalid bb->loop_father (NULL) in add_bb_to_loop) · 405af656
      2012-04-11  Richard Guenther  <rguenther@suse.de>
      
      	PR middle-end/52918
      	* except.c (sjlj_emit_dispatch_table): Properly update loop
      	structure.
      
      	* g++.dg/torture/pr52918-1.C: New testcase.
      	* g++.dg/torture/pr52918-2.C: Likewise.
      
      From-SVN: r186320
      Richard Guenther committed
    • jcf-reader.c (jcf_parse_bootstrap_methods): Add ATTRIBUTE_UNUSED. · e9184c9e
      2012-04-11  Andrew Haley  <aph@redhat.com>
      
      	* jcf-reader.c (jcf_parse_bootstrap_methods): Add
      	ATTRIBUTE_UNUSED.
      
      From-SVN: r186319
      Andrew Haley committed
    • re PR fortran/52729 (Symbol has no implicit type in SELECT TYPE block) · 60fa3931
      2012-04-11  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/52729
              * resolve.c (resolve_symbol): Fix searching for parent NS decl.
      
      2012-04-11  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/52729
              * gfortran.dg/block_11.f90: New.
      
      From-SVN: r186318
      Tobias Burnus committed
    • rx.c (rx_expand_prologue): Set stack use information, if requested. · 84e60183
      	* config/rx/rx.c (rx_expand_prologue): Set stack use
      	information, if requested.
      
      From-SVN: r186314
      Nick Clifton committed
    • stack-usage-1.c (SIZE): Define for the RL78. · cf5025b6
      	* gcc.dg/stack-usage-1.c (SIZE): Define for the RL78.
      	* config/rl78/rl78.c (rl78_expand_prologue): Set stack use
      	information, if requested.
      
      From-SVN: r186313
      Nick Clifton committed
    • re PR target/16458 (PowerPC - redundant compare) · 7bc14a04
      gcc/
      	PR target/16458
      	* rtlanal.c (unsigned_reg_p): New function.
      	Update copyright notice dates.
      	* rtl.h (unsigned_reg_p): Prototype it.
      	Update copyright notice dates.
      	* config/rs6000/rs6000.c (rs6000_generate_compare): Use it.
      	Update comment.
      	* expr.c (expand_expr_real_1): Set register attributes.
      	* stmt.c (expand_case): Likewise.
      
      gcc/testsuite/
      	PR target/16458
      	* gcc.target/powerpc/pr16458-1.c: New test.
      	* gcc.target/powerpc/pr16458-2.c: Likewise.
      	* gcc.target/powerpc/pr16458-3.c: Likewise.
      	* gcc.target/powerpc/pr16458-4.c: Likewise.
      
      Co-Authored-By: Michael Matz <matz@suse.de>
      
      From-SVN: r186312
      Peter Bergner committed
    • re PR target/50751 (SH Target: Displacement addressing does not work for QImode and HImode) · 8c2a3f3b
      	PR target/50751
      	* config/sh/sh-protos.h (sh_legitimate_index_p): Add new arguments
      	consider_sh2a and allow_zero.
      	* config/sh/sh.c (sh_legitimate_index_p): Likewise.
      	(disp_addr_displacement): New function.
      	(sh_address_cost): Use disp_addr_displacement function instead
      	of DISP_ADDR_OFFSET.
      	(sh_legitimate_address_p): Adapt to changed
      	sh_legitimate_index_p declaration.
      	(sh_find_mov_disp_adjust): Remove HImode check.
      	(sh_secondary_reload): Add HImode case.  Use satisfies_constraint_Sdd,
      	disp_addr_displacement and max_mov_insn_displacement.
      	(max_mov_insn_displacement): Remove HImode check.
      	* config/sh/sh.h (CONST_OK_FOR_K04, CONST_OK_FOR_K12, 
      	DISP_ADDR_P, DISP_ADDR_OFFSET): Remove.
      	* config/sh/constraints.md (K05, K13): New constraints.
      	(K12): Correct comment.
      	(Sdd): Do not use DISP_ADDR_P macro.
      	(Snd, Sbw): Use satisfies_constraint_Sdd.
      	* config/sh/sh.md (extendhisi2): Remove constraints from expander.
      	(*extendhisi2_compact, movhi_i): Remove.
      	(*extendhisi2_compact_reg, *extendhisi2_compact_mem_disp,
      	*extendhisi2_compact_mem_disp, *extendhisi2_compact_snd,
      	*movhi_reg_reg, *movhi_store_mem_disp05, *movhi_store_mem_disp13,
      	*movhi_load_mem_disp, *movhi_load_mem_disp, *movhi): New insns.
      	(*extendqisi2_compact_mem_disp, *extendqisi2_compact_mem_disp,
      	*movqi_store_mem_disp04, *movqi_store_mem_disp12, *movqi_load_mem_disp,
      	*movqi_load_mem_disp): Use sh_legitimate_index_p instead of
      	CONST_OK_FOR_Kxx.
      	Add new peepholes for HImode displacement addressing.
      
      From-SVN: r186311
      Oleg Endo committed
    • re PR libstdc++/52931 (std::hash shouldn't be defined for unknown types) · b16212bd
      2012-04-11  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR libstdc++/52931
      	* include/bits/functional_hash.h (struct hash): Remove definition.
      	* testsuite/20_util/hash/52931.cc: New.
      
      From-SVN: r186310
      Paolo Carlini committed
    • sh.h (SIDI_OFF): Remove. · 32ed5fcc
      	* config/sh/sh.h (SIDI_OFF): Remove.
      	* config/sh/sh.md: Use gen_highpart and gen_lowpart to access
      	DImode subregs instead of gen_rtx_REG or simplifly_gen_subreg
      	or operand_subword.
      
      From-SVN: r186309
      Oleg Endo committed
    • re PR target/52624 (missing __builtin_bswap16) · ac868f29
      	PR target/52624
      	* doc/extend.texi (Other Builtins): Document __builtin_bswap16.
      	(PowerPC AltiVec/VSX Built-in Functions): Remove it.
      	* doc/md.texi (Standard Names): Add bswap.
      	* builtin-types.def (BT_UINT16): New primitive type.
      	(BT_FN_UINT16_UINT16): New function type.
      	* builtins.def (BUILT_IN_BSWAP16): New.
      	* builtins.c (expand_builtin_bswap): Add TARGET_MODE argument.
      	(expand_builtin) <BUILT_IN_BSWAP16>: New case.  Pass TARGET_MODE to
      	expand_builtin_bswap.
      	(fold_builtin_bswap): Add BUILT_IN_BSWAP16 case.
      	(fold_builtin_1): Likewise.
      	(is_inexpensive_builtin): Likewise.
      	* optabs.c (expand_unop): Deal with bswap in HImode specially.  Add
      	missing bits for bswap to libcall code.
      	* tree.c (build_common_tree_nodes): Build uint16_type_node.
      	* tree.h (enum tree_index): Add TI_UINT16_TYPE.
      	(uint16_type_node): New define.
      	* config/rs6000/rs6000-builtin.def (RS6000_BUILTIN_BSWAP_HI): Delete.
      	* config/rs6000/rs6000.c (rs6000_expand_builtin): Remove handling of
      	above builtin.
      	(rs6000_init_builtins): Likewise.
      	* config/rs6000/rs6000.md (bswaphi2): Add TARGET_POWERPC predicate.
      c-family/
      	* c-common.h (uint16_type_node): Rename into...
      	(c_uint16_type_node): ...this.
      	* c-common.c (c_common_nodes_and_builtins): Adjust for above renaming.
      	* c-cppbuiltin.c (builtin_define_stdint_macros): Likewise.
      
      From-SVN: r186308
      Eric Botcazou committed
    • jcf.h (bootstrap_method): New. · cca4dd59
      2012-04-11  Andrew Haley  <aph@redhat.com>
      
      	* jcf.h (bootstrap_method): New.
      	(BootstrapMethods): New.
      	(JCF): Add BootstrapMethods.
      	(enum cpool_tag): Add MethodHandle, MethodType, and InvokeDynamic.
      	* jcf-reader.c (jcf_parse_bootstrap_methods): New.
      	(jcf_parse_constant_pool): Handlers for MethodHandle, MethodType,
      	and InvokeDynamic.
      	(jcf_parse_bootstrap_methods): New.
      	* javaop.def (invokedynamic): New opcode.
      	* jcf-parse.c (get_constant): An unknown constant type should not
      	be an internal error, but a fatal one.  Make it so.
      	* jcf-dump.c (HANDLE_BOOTSTRAP_METHODS_ATTRIBUTE): New.
      	(HANDLE_END_BOOTSTRAP_METHODS): New.
      	(print_constant): Handlers for MethodHandle, MethodType, and
      	InvokeDynamic.
      
      From-SVN: r186307
      Andrew Haley committed
    • extend.texi (Type Attributes): Move paragraph. · ada37101
      2012-04-11  Tristan Gingold  <gingold@adacore.com>
      
      	* doc/extend.texi (Type Attributes): Move paragraph.
      
      From-SVN: r186306
      Tristan Gingold committed
    • re PR c++/24985 (caret diagnostics) · 9fec0042
      2012-04-11  Manuel López-Ibáñez  <manu@gcc.gnu.org>
      
      	PR 24985
      gcc/
              * diagnostic.h (show_caret): Declare.
      	(caret_max_width): Declare.
      	(diagnostic_show_locus): Declare.
              * diagnostic.c (diagnostic_initialize): Initialize to false.
              (diagnostic_show_locus): New.
              (diagnostic_report_diagnostic): Call it.
      	(getenv_columns): New.
      	(adjust_line): New.
      	(diagnostic_set_caret_max_width): New.
              * input.c (read_line): New.
      	(location_get_source_line): New.
              * input.h (location_get_source_line): Declare.
              * toplev.c (general_init): Initialize show_caret from options.
              * dwarf2out.c (gen_producer_string): Handle fdiagnostics-show-caret.
              * opts.c (common_handle_option): Likewise.
      	* pretty-print.h (pp_get_prefix): New.
      	(pp_base_get_prefix): New.
              * common.opt (fdiagnostics-show-caret): New option.
      	* doc/invoke.texi (fdiagnostics-show-caret): Document it.
      testsuite/
              * lib/prune.exp: Add -fno-diagnostics-show-caret.
      libstdc++-v3/
      	* testsuite/lib/prune.exp: Handle caret.
      libmudflap/
      	* testsuite/lib/libmudflap.exp: Handle caret.
      
      From-SVN: r186305
      Manuel López-Ibáñez committed
    • re PR middle-end/52881 (ICE due to null pointer deref in cfgloop.c) · 13a7578b
      2012-04-11  Richard Guenther  <rguenther@suse.de>
      
      	PR rtl-optimization/52881
      	* ifcvt.c (find_if_case_2): Avoid speculating loop latches.
      
      	* gcc.dg/torture/pr52881.c: New testcase.
      	* gcc.dg/torture/pr52913.c: Likewise.
      
      From-SVN: r186304
      Richard Guenther committed
    • re PR tree-optimization/52912 (ICE: verify_ssa failed) · 12df9a2f
      2012-04-11  Richard Guenther  <rguenther@suse.de>
      
      	PR tree-optimization/52912
      	* tree-ssa-threadupdate.c (thread_block): Tell the cfg
      	manipulation code we are threading through a loop header
      	to an exit destination.
      
      	* gcc.dg/torture/pr52912.c: New testcase.
      
      From-SVN: r186303
      Richard Guenther committed
    • Daily bump. · f06fe36d
      From-SVN: r186301
      GCC Administrator committed
  2. 10 Apr, 2012 13 commits
    • c-common.c (warn_if_unused_value): Move definition to here. · fd4116f4
      2012-04-10  Manuel López-Ibáñez  <manu@gcc.gnu.org>
      
      	* c-family/c-common.c (warn_if_unused_value): Move definition to here.
      	* tree.h (warn_if_unused_value): Move declaration from here.
      	* c-family/c-common.h (warn_if_unused_value): Move declaration to here.
      	* cp/cvt.c (convert_to_void): Update comment.
      	* stmt.c (warn_if_unused_value): Move definition from here.
      
      From-SVN: r186287
      Manuel López-Ibáñez committed
    • Forgot to commit in r186285. · 408baa0b
      From-SVN: r186286
      Michael Matz committed
    • tree-vectorizer.h (_loop_vec_info.strided_stores): Rename to grouped_stores. · 0d0293ac
      	* tree-vectorizer.h (_loop_vec_info.strided_stores): Rename to
      	grouped_stores.
      	(LOOP_VINFO_STRIDED_STORES): Rename to LOOP_VINFO_GROUPED_STORES.
      	(struce _bb_vec_info.strided_stores): Rename to grouped_stores.
      	(BB_VINFO_STRIDED_STORES): Rename to BB_VINFO_GROUPED_STORES.
      	(STMT_VINFO_STRIDED_ACCESS): Rename to STMT_VINFO_GROUPED_ACCESS.
      	(vect_strided_store_supported): Rename to vect_grouped_store_supported.
      	(vect_strided_load_supported): Rename to vect_grouped_load_supported.
      	(vect_transform_strided_load): Rename to vect_transform_grouped_load.
      	(vect_record_strided_load_vectors): Rename to
      	vect_record_grouped_load_vectors.
      	* tree-vect-data-refs.c (vect_update_misalignment_for_peel):
      	Rename use of above macros.
      	(vect_verify_datarefs_alignment): Ditto.
      	(vector_alignment_reachable_p): Ditto.
      	(vect_peeling_hash_get_lowest_cost): Ditto.
      	(vect_enhance_data_refs_alignment): Ditto.
      	(vect_analyze_group_access): Ditto and rename stride to groupsize.
      	(vect_analyze_data_ref_access): Rename "strided" to "grouped".
      	(vect_strided_store_supported): Rename to vect_grouped_store_supported.
      	(vect_strided_load_supported): Rename to vect_grouped_load_supported.
      	(vect_transform_strided_load): Rename to vect_transform_grouped_load.
      	(vect_record_strided_load_vectors): Rename to
      	vect_record_grouped_load_vectors.
      	* tree-vect-loop.c (new_loop_vec_info): Rename use of above macros.
      	(destroy_loop_vec_info): Ditto.
      	(vect_transform_loop): Ditto and rename strided_store to grouped_store.
      	* tree-vect-slp.c (vect_build_slp_tree): Rename use of above macros.
      	(vect_analyze_slp): Ditto.
      	(new_bb_vec_info): Ditto.
      	(destroy_bb_vec_info): Ditto.
      	(vect_schedule_slp_instance): Ditto and rename strided_store to
      	grouped_store.
      	* tree-vect-stmts.c (vect_cost_strided_group_size): Rename to
      	vect_cost_group_size.
      	(vect_model_store_cost): Rename use of above macros and call
      	to vect_cost_strided_group_size.
      	(vect_model_load_cost): Ditto.
      	(vectorizable_store): Ditto, rename strided_store to grouped_store
      	and calls to renamed tree-vectorizer.h functions.
      	(vectorizable_load): Ditto.
      	(vect_transform_stmt): Rename use of above macros and strided_store
      	to grouped_store.
      
      testsuite/
      	* gcc.dg/vect/vect-outer-1-big-array.c: Adjust.
      	* gcc.dg/vect/vect-outer-1.c: Adjust.
      	* gcc.dg/vect/vect-outer-1a-big-array.c: Adjust.
      	* gcc.dg/vect/vect-outer-1a.c: Adjust.
      	* gcc.dg/vect/vect-outer-1b-big-array.c: Adjust.
      	* gcc.dg/vect/vect-outer-1b.c: Adjust.
      	* gcc.dg/vect/vect-outer-2b.c: Adjust.
      	* gcc.dg/vect/vect-outer-3b.c: Adjust.
      
      From-SVN: r186285
      Michael Matz committed
    • cgraph.h: Remove misledaing comment on ipa-ref.h. · 1f00098b
      	* cgraph.h: Remove misledaing comment on ipa-ref.h.
      	(symtab_type): New enum.
      	(symtab_node): New structure.
      	(cgraph_node, varpool_node): Add symbol base type.
      	(cgraph, varpool): New accestor functions.
      	* cgraph.c (cgraph_create_node_1): Set symbol type.
      	* varpool.c (varpool_node): Set symbol type.
      
      From-SVN: r186284
      Jan Hubicka committed
    • cshift0.m4 (cshift0_'rtype_code`): Guard use of modulo. · b43645b8
      	* m4/cshift0.m4 (cshift0_'rtype_code`): Guard use of modulo.
      
      	* generated/cshift0_c10.c: Regenerated.
      	* generated/cshift0_c16.c: Regenerated.
      	* generated/cshift0_c4.c: Regenerated.
      	* generated/cshift0_c8.c: Regenerated.
      	* generated/cshift0_i16.c: Regenerated.
      	* generated/cshift0_i1.c: Regenerated.
      	* generated/cshift0_i2.c: Regenerated.
      	* generated/cshift0_i4.c: Regenerated.
      	* generated/cshift0_i8.c: Regenerated.
      	* generated/cshift0_r10.c: Regenerated.
      	* generated/cshift0_r16.c: Regenerated.
      	* generated/cshift0_r4.c: Regenerated.
      	* generated/cshift0_r8.c: Regenerated.
      
      From-SVN: r186283
      Michael Matz committed
    • fwprop.c (propagate_rtx): Also set PR_CAN_APPEAR for subregs. · ca18edc5
      	* fwprop.c (propagate_rtx): Also set PR_CAN_APPEAR for subregs.
      
      Co-Authored-By: Richard Sandiford <rdsandiford@googlemail.com>
      
      From-SVN: r186278
      Ulrich Weigand committed
    • re PR middle-end/52888 (Unable to inline function pointer call with inexact signature match) · e30459d5
      2012-04-10  Richard Guenther  <rguenther@suse.de>
      
      	PR middle-end/52888
      	* gimple-low.c (gimple_check_call_args): Properly account for
      	compatible aggregate types.
      
      From-SVN: r186276
      Richard Guenther committed
    • toplev.h (tree_rest_of_compilation): Remove. · 0878843f
      2012-04-10  Richard Guenther  <rguenther@suse.de>
      
      	* toplev.h (tree_rest_of_compilation): Remove.
      	* tree-optimize.c (tree_rest_of_compilation): Likewise.
      	* cgraph.h (tree_rest_of_compilation): Declare.
      	* tree-optimize.c (tree_rest_of_compilation): Move ...
      	* cgraphunit.c (tree_rest_of_compilation): ... here.
      	* cgraph.c (cgraph_add_new_function): Adjust.
      	* Makefile.in (tree-optimize.o): Adjust.
      	(cgraphunit.o): Likewise.
      
      From-SVN: r186274
      Richard Guenther committed
    • re PR tree-optimization/52870 (ICE during SLP pattern matching) · c0d942d2
      	gcc/
      	PR tree-optimization/52870
      	* tree-vect-patterns.c (vect_recog_widen_mult_pattern): Verify that
      	presumed pattern statement is within the same loop or basic block.
      
      	gcc/testsuite/
      	PR tree-optimization/52870
      	* gcc.dg/vect/pr52870.c: New test.
      
      From-SVN: r186272
      Ulrich Weigand committed
    • gengtype.c (main): Make uintptr_t a known type. · 5973ae1a
      gcc/
      2012-04-10  Tristan Gingold  <gingold@adacore.com>
      
      	* gengtype.c (main): Make uintptr_t a known type.
      
      include/
      2012-04-10  Tristan Gingold  <gingold@adacore.com>
      
      	* splay-tree.h: Conditionnaly includes stdint.h and inttypes.h
      	(libi_uhostptr_t, libi_shostptr_t): Remove, replaced by uintptr_t.
      
      From-SVN: r186269
      Tristan Gingold committed
    • tree-pass.h (tree_lowering_passes): Remove. · 26eb69c6
      2012-04-10  Richard Guenther  <rguenther@suse.de>
      
      	* tree-pass.h (tree_lowering_passes): Remove.
      	* tree-optimize.c (tree_lowering_passes): Remove.
      	* cgraph.c (cgraph_add_new_function): Inline relevant parts
      	of tree_lowering_passes, avoid redundant call of early local
      	passes.
      	* cgraphunit.c (cgraph_lower_function): Fold into ...
      	(cgraph_analyze_function): ... its single caller.  Inline
      	relevant parts of tree_lowering_passes.
      
      From-SVN: r186268
      Richard Guenther committed
    • Don't use CRLF endings. · bcc2b4cd
      	* gcc.dg/tree-ssa/vrp59.c: Likewise.
      	* gcc.dg/tree-ssa/vrp60.c: Likewise.
      	* gnat.dg/aggr11.adb: Likewise.
      	* gnat.dg/aggr11_pkg.ads: Likewise.
      	* gnat.dg/aggr15.adb: Likewise.
      	* gnat.dg/aggr15.ads: Likewise.
      	* gnat.dg/aggr17.adb: Likewise.
      	* gnat.dg/aggr18.adb: Likewise.
      	* gnat.dg/array14.adb: Likewise.
      	* gnat.dg/array14.ads: Likewise.
      	* gnat.dg/array14_pkg.ads: Likewise.
      	* gnat.dg/array19.adb: Likewise.
      	* gnat.dg/array19.ads: Likewise.
      	* gnat.dg/discr27.adb: Likewise.
      	* gnat.dg/discr27.ads: Likewise.
      	* gnat.dg/discr35.adb: Likewise.
      	* gnat.dg/discr35.ads: Likewise.
      	* gnat.dg/discr6.adb: Likewise.
      	* gnat.dg/discr6_pkg.ads: Likewise.
      	* gnat.dg/import1.adb: Likewise.
      	* gnat.dg/import1.ads: Likewise.
      	* gnat.dg/loop_address2.adb: Likewise.
      	* gnat.dg/opt7.adb: Likewise.
      	* gnat.dg/opt7.ads: Likewise.
      	* gnat.dg/pointer_variable_bounds.adb: Likewise.
      	* gnat.dg/pointer_variable_bounds.ads: Likewise.
      	* gnat.dg/rep_clause2.adb: Likewise.
      	* gnat.dg/rep_clause2.ads: Likewise.
      	* gnat.dg/slice2.adb: Likewise.
      	* gnat.dg/slice2.ads: Likewise.
      	* gnat.dg/slice6.adb: Likewise.
      	* gnat.dg/slice6_pkg.ads: Likewise.
      	* gnat.dg/specs/unchecked_union2.ads: Likewise.
      	* gnat.dg/taft_type2.adb: Likewise.
      	* gnat.dg/taft_type2.ads: Likewise.
      	* gnat.dg/taft_type2_pkg.ads: Likewise.
      	* gnat.dg/volatile10.adb: Likewise.
      	* gnat.dg/volatile10_pkg.ads: Likewise.
      
      From-SVN: r186265
      Mike Stump committed
    • a-assert.ads: Remove execute permission. · b832b14d
      	* a-assert.ads: Remove execute permission.
      	* a-chacon.ads: Likewise.
      	* a-coteio.ads: Likewise.
      	* a-envvar.ads: Likewise.
      	* a-exetim-mingw.ads: Likewise.
      	* a-fzteio.ads: Likewise.
      	* a-izteio.ads: Likewise.
      	* a-lcteio.ads: Likewise.
      	* a-llctio.ads: Likewise.
      	* a-scteio.ads: Likewise.
      	* a-suenco.ads: Likewise.
      	* a-suenst.ads: Likewise.
      	* a-suewst.ads: Likewise.
      	* a-suezst.ads: Likewise.
      	* a-tirsfi.ads: Likewise.
      	* a-wichha.ads: Likewise.
      	* a-zchara.ads: Likewise.
      	* a-zchhan.ads: Likewise.
      	* a-zchuni.ads: Likewise.
      	* a-zrstfi.ads: Likewise.
      	* aspects.ads: Likewise.
      	* g-byorma.ads: Likewise.
      	* g-decstr.ads: Likewise.
      	* g-encstr.ads: Likewise.
      	* g-spchge.ads: Likewise.
      	* g-u3spch.ads: Likewise.
      	* g-wispch.ads: Likewise.
      	* g-zspche.ads: Likewise.
      	* namet-sp.ads: Likewise.
      	* s-os_lib.ads: Likewise.
      	* s-regexp.ads: Likewise.
      	* s-regpat.ads: Likewise.
      	* s-string.ads: Likewise.
      	* s-tasloc.ads: Likewise.
      	* s-utf_32.ads: Likewise.
      	* sem_aux.ads: Likewise.
      	* a-assert.adb: Likewise.
      	* a-chacon.adb: Likewise.
      	* a-envvar.adb: Likewise.
      	* a-exetim-mingw.adb: Likewise.
      	* a-suenco.adb: Likewise.
      	* a-suenst.adb: Likewise.
      	* a-suewst.adb: Likewise.
      	* a-suezst.adb: Likewise.
      	* a-tirsfi.adb: Likewise.
      	* a-wichha.adb: Likewise.
      	* a-zchhan.adb: Likewise.
      	* a-zchuni.adb: Likewise.
      	* a-zrstfi.adb: Likewise.
      	* aspects.adb: Likewise.
      	* g-byorma.adb: Likewise.
      	* g-decstr.adb: Likewise.
      	* g-encstr.adb: Likewise.
      	* g-spchge.adb: Likewise.
      	* g-u3spch.adb: Likewise.
      	* g-wispch.adb: Likewise.
      	* g-zspche.adb: Likewise.
      	* namet-sp.adb: Likewise.
      	* s-except.adb: Likewise.
      	* s-inmaop-vxworks.adb: Likewise.
      	* s-os_lib.adb: Likewise.
      	* s-regexp.adb: Likewise.
      	* s-regpat.adb: Likewise.
      	* s-string.adb: Likewise.
      	* s-tasloc.adb: Likewise.
      	* s-utf_32.adb: Likewise.
      	* s-wchcon.adb: Likewise.
      	* sem_aux.adb: Likewise.
      
      From-SVN: r186261
      Mike Stump committed