1. 23 Oct, 2012 11 commits
    • re PR testsuite/52945 (FAIL: gcc.dg/lto/pr52634 c_lto_pr52634_1.o assemble, -O* -flto *) · b4e64afb
      
      
      	PR gcc/52945
      	* testsuite/gcc.dg/lto/pr52634_0.c: skip the test on Darwin.
      
      From-SVN: r192716
      Dominique d'Humieres committed
    • gcc: · 1efcb8c6
      	* config.gcc (*-*-linux* | frv-*-*linux* | *-*-kfreebsd*-gnu |
      	*-*-knetbsd*-gnu | *-*-gnu* | *-*-kopensolaris*-gnu): Use
      	glibc-c.o in c_target_objs and cxx_target_objs.  Use t-glibc in
      	tmake_file.  Set target_has_targetcm.
      	(tilegx-*-linux*, tilepro-*-linux*): Append to c_target_objs and
      	cxx_target_objs rather than overriding previous value.
      	* config/glibc-c.c, config/t-glibc: New.
      	* doc/tm.texi.in (TARGET_C_PREINCLUDE): New @hook.
      	* doc/tm.texi: Regenerate.
      	* hooks.c (hook_constcharptr_void_null): New.
      	* hooks.h (hook_constcharptr_void_null): Declare.
      
      gcc/c-family:
      	* c-common.h (pch_cpp_save_state): Declare.
      	* c-target.def (c_preinclude): New hook.
      	* c-opts.c (done_preinclude): New.
      	(push_command_line_include): Handle default preincluded header.
      	(cb_file_change): Call pch_cpp_save_state when calling
      	push_command_line_include.
      	* c-pch.c (pch_ready_to_save_cpp_state, pch_cpp_state_saved)
      	(pch_cpp_save_state): New.
      	(pch_init): Call pch_cpp_save_state conditionally, instead of
      	calling cpp_save_state.
      
      gcc/testsuite:
      	* gcc.dg/c99-predef-1.c: New test.
      	* gcc.dg/cpp/cmdlne-dU-1.c, gcc.dg/cpp/cmdlne-dU-2.c,
      	gcc.dg/cpp/cmdlne-dU-3.c, gcc.dg/cpp/cmdlne-dU-4.c,
      	gcc.dg/cpp/cmdlne-dU-5.c, gcc.dg/cpp/cmdlne-dU-6.c,
      	gcc.dg/cpp/cmdlne-dU-7.c, gcc.dg/cpp/cmdlne-dU-8.c,
      	gcc.dg/cpp/cmdlne-dU-9.c, gcc.dg/cpp/cmdlne-dU-10.c,
      	gcc.dg/cpp/cmdlne-dU-11.c, gcc.dg/cpp/cmdlne-dU-12.c,
      	gcc.dg/cpp/cmdlne-dU-13.c, gcc.dg/cpp/cmdlne-dU-14.c,
      	gcc.dg/cpp/cmdlne-dU-15.c, gcc.dg/cpp/cmdlne-dU-16.c,
      	gcc.dg/cpp/cmdlne-dU-17.c, gcc.dg/cpp/cmdlne-dU-18.c,
      	gcc.dg/cpp/cmdlne-dU-19.c, gcc.dg/cpp/cmdlne-dU-20.c,
      	gcc.dg/cpp/cmdlne-dU-21.c, gcc.dg/cpp/cmdlne-dU-22.c,
      	gcc.dg/cpp/mi5.c, gcc.dg/cpp/multiline.c: Add -nostdinc to
      	dg-options.
      
      libcpp:
      	* files.c (struct _cpp_file): Add implicit_preinclude.
      	(pch_open_file): Allow a previously opened implicitly included
      	file.
      	(_cpp_find_file): Add implicit_preinclude argument.  Free file and
      	do not call open_file_failed if implicit_preinclude.  Store
      	implicit_preinclude value.
      	(_cpp_stack_include, _cpp_fake_include, _cpp_compare_file_date):
      	Update calls to _cpp_find_file.
      	(_cpp_stack_include): Handle IT_DEFAULT.
      	(cpp_push_default_include): New.
      	* include/cpplib.h (cpp_push_default_include): Declare.
      	* init.c (cpp_read_main_file): Update call to _cpp_find_file.
      	* internal.h (enum include_type): Add IT_DEFAULT.
      	(_cpp_find_file): Update prototype.
      
      From-SVN: r192715
      Joseph Myers committed
    • linux-common.h (STACK_CHECK_STATIC_BUILTIN): Define. · 3b601ca3
      	* config/mips/linux-common.h (STACK_CHECK_STATIC_BUILTIN): Define.
      	(STACK_CHECK_PROTECT): Likewise.
      	* config/mips/mips.h (MIPS_PROLOGUE_TEMP2_REGNUM): Likewise.
      	(MIPS_PROLOGUE_TEMP2): Likewise.
      	* config/mips/mips-protos.h (mips_output_probe_stack_range): Declare.
      	* config/mips/mips.c: Include common/common-target.h.
      	(mips_emit_probe_stack_range): New function.
      	(mips_output_probe_stack_range): Likewise.
      	(mips_expand_prologue): Invoke mips_emit_probe_stack_range if static
      	builtin stack checking is enabled.
      	* config/mips/mips.md (UNSPEC_PROBE_STACK_RANGE): New constant.
      	(probe_stack_range_<P:mode>): New insn.
      ada/
      	* system-linux-mipsel.ads (Stack_Check_Probes): Set to True.
      	* system-linux-mips.ads (Stack_Check_Probes): Likewise.
      	* system-linux-mips64el.ads (Stack_Check_Probes): Likewise.
      
      From-SVN: r192713
      Eric Botcazou committed
    • tree-ssa-forwprop.c (forward_propagate_into_cond): Handle vectors. · a8dcc458
      2012-10-23  Marc Glisse  <marc.glisse@inria.fr>
      
      gcc/
      	* tree-ssa-forwprop.c (forward_propagate_into_cond): Handle vectors.
      	* fold-const.c (fold_relational_const): Handle VECTOR_CST.
      	* doc/generic.texi (VEC_COND_EXPR): Document current policy.
      
      gcc/testsuite/
      	* gcc.dg/tree-ssa/foldconst-6.c: New testcase.
      
      From-SVN: r192711
      Marc Glisse committed
    • re PR tree-optimization/54937 (Invalid loop bound estimate) · 05322355
      
      	PR middle-end/54937
      	* tree-ssa-loop-niter.c (record_estimate): Do not try to lower
      	the bound of non-is_exit statements.
      	(maybe_lower_iteration_bound): Do it here.
      	(estimate_numbers_of_iterations_loop): Call it.
      	* gcc.c-torture/execute/pr54937.c: New testcase.
      	* gcc.dg/tree-ssa/cunroll-2.c: Update.
      
      From-SVN: r192710
      Jan Hubicka committed
    • re PR tree-optimization/54967 (ICE in check_loop_closed_ssa_use, at tree-ssa-loop-manip.c:55) · 1a7de201
      
      	PR middle-end/54967
      	* cfgloopmanip.c (fix_bb_placements): Add loop_closed_ssa_invalidated;
      	track basic blocks that moved out of their loops.
      	(unloop): Likewise.
      	(remove_path): Update.
      	(fix_loop_placements): Update.
      	* tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Add
      	loop_closed_ssa_invalidated parameter; pass it around.
      	(canonicalize_loop_induction_variables): Update loop closed
      	SSA form if needed.
      	(tree_unroll_loops_completely): Likewise; do irred update out of
      	the outer loop; verify that SSA form is closed.
      	* cfgloop.h (unrloop): Update.
      
      	* gfortran.dg/pr54967.f90: New testcase.
      
      From-SVN: r192709
      Jan Hubicka committed
    • re PR go/54918 (libgo.so.0 is not runtime compatible between gcc-4.6.2 and gcc-4.7.x) · e8028ecd
      	PR go/54918
      libgo: Set library version number.
      
      From-SVN: r192706
      Ian Lance Taylor committed
    • libgo: Update to current sources. · 4ccad563
      From-SVN: r192704
      Ian Lance Taylor committed
    • re PR target/55019 (Incorrectly use live argument register to save high register… · 0b746323
      re PR target/55019 (Incorrectly use live argument register to save high register in thumb1 prologue)
      
      	gcc/
      	PR target/55019
      	* config/arm/arm.c (thumb1_expand_prologue): Don't push high regs with
      	live argument regs.
      
      	gcc/testsuite/
      	PR target/55019
      	* gcc.dg/pr55019.c: New.
      
      From-SVN: r192703
      Terry Guo committed
    • re PR middle-end/55030 (gcc.c-torture/execute/builtins/memcpy-chk.c execution, -Os (et al)) · e4878d25
      	PR middle-end/55030
      	Revert:
      	* stmt.c (expand_nl_goto_receiver): Remove almost-copy of
      	expand_builtin_setjmp_receiver.
      	(expand_label): Adjust, call expand_builtin_setjmp_receiver
      	with NULL for the label parameter.
      	* builtins.c (expand_builtin_setjmp_receiver): Don't clobber
      	the frame-pointer.  Adjust comments.
      	[HAVE_builtin_setjmp_receiver]: Emit builtin_setjmp_receiver
      	only if LABEL is non-NULL.
      
      From-SVN: r192701
      Hans-Peter Nilsson committed
    • Daily bump. · 78445bd8
      From-SVN: r192700
      GCC Administrator committed
  2. 22 Oct, 2012 24 commits
  3. 21 Oct, 2012 5 commits