1. 09 Feb, 2015 13 commits
  2. 08 Feb, 2015 12 commits
  3. 07 Feb, 2015 9 commits
  4. 06 Feb, 2015 6 commits
    • PR jit/64752 - Rewrite jit testsuite to eliminate use of "file" · a82289f5
      gcc/testsuite/ChangeLog:
      	PR jit/64752
      	* jit.dg/create-code-for-hello-world-executable.h: New file, taken
      	from jit.dg/test-compile-to-executable.c's create_code, with a
      	clarification of the output message.
      	* jit.dg/harness.h (CHECK_NO_ERRORS): Add test and __func__ to the
      	pass/fail message.
      	(test_jit): Use CHECK_NO_ERRORS when calling
      	gcc_jit_context_compile_to_file.
      	* jit.dg/jit.exp (jit-dg-test): Update grep for rename of
      	jit-verify-compile-to-file to jit-verify-output-file-was-created.
      	(jit-setup-compile-to-file): Likewise.  Add a verbose comment
      	about deletions that are attempted.
      	(jit-verify-compile-to-file): Rename to...
      	(jit-verify-output-file-was-created): ...this, and drop the
      	attempt to run "file" and verify the output.
      	(jit-verify-assembler): New function.
      	(jit-verify-object): New function.
      	(jit-verify-dynamic-library): New function.
      	* jit.dg/test-compile-to-assembler.c (create_code): Eliminate in
      	favor of an implementation from new file
      	create-code-for-hello-world-executable.h, which also adds a
      	"main".
      	(dg-final): Replace jit-verify-compile-to-file with
      	jit-verify-output-file-was-created, and invoke new function
      	jit-verify-assembler.
      	* jit.dg/test-compile-to-dynamic-library.c (create_code): Clarify
      	the output message.
      	(dg-final): Replace jit-verify-compile-to-file with
      	jit-verify-output-file-was-created, and invoke new function
      	jit-verify-dynamic-library.
      	* jit.dg/test-compile-to-executable.c (create_code): Eliminate in
      	favor of an implementation from new file
      	create-code-for-hello-world-executable.h, which also adds a
      	"main".
      	(dg-final): Replace jit-verify-compile-to-file with
      	jit-verify-output-file-was-created.  Strengthen the expected stdout
      	from the built executable.
      	* jit.dg/test-compile-to-object.c (create_code): Eliminate in
      	favor of an implementation from new file
      	create-code-for-hello-world-executable.h, which also adds a
      	"main".
      	(dg-final): Replace jit-verify-compile-to-file with
      	jit-verify-output-file-was-created, and invoke new function
      	jit-verify-object.
      	* jit.dg/verify-dynamic-library.c: New source file.
      
      From-SVN: r220494
      David Malcolm committed
    • PR 64878: do not jump thread across more than one back-edge · 45beb02e
      2015-02-04  Sebastian Pop  <s.pop@samsung.com>
      	    Brian Rzycki  <b.rzycki@samsung.com>
      
      	PR tree-optimization/64878
      	* tree-ssa-threadedge.c: Include tree-ssa-loop.h.
      	(fsm_find_control_statement_thread_paths): Add parameter seen_loop_phi.
      	Stop recursion at loop phi nodes after having visited a loop phi node.
      
      	* testsuite/gcc.dg/tree-ssa/ssa-dom-thread-8.c: New.
      
      Co-Authored-By: Brian Rzycki <b.rzycki@samsung.com>
      
      From-SVN: r220491
      Sebastian Pop committed
    • toplev.c (process_options): Change flag_ipa_ra before creating optimization_{default,current}_node. · f3ab4eed
      	* toplev.c (process_options): Change flag_ipa_ra before creating
      	optimization_{default,current}_node.
      
      From-SVN: r220490
      Jakub Jelinek committed
    • re PR ipa/64896 (ICE in get_address_mode, at rtlanal.c:5442) · bbd1bae2
      	PR ipa/64896
      	* cgraphunit.c (cgraph_node::expand_thunk): If
      	restype is not is_gimple_reg_type nor the thunk_fndecl
      	returns aggregate_value_p, set restmp to a temporary variable
      	instead of resdecl.
      
      	* g++.dg/ipa/pr64896.C: New test.
      
      From-SVN: r220489
      Jakub Jelinek committed
    • lra.c (lra_emit_add): Fix a typo in using disp instead of base. · 091790a7
      2015-02-06  Vladimir Makarov  <vmakarov@redhat.com>
      
      	* lra.c (lra_emit_add): Fix a typo in using disp instead of base.
      
      From-SVN: r220488
      Vladimir Makarov committed
    • re PR target/64205 (powerpc64-linux --with-cpu=G5 bootstrap failure) · 46290aa8
      [gcc]
      2015-02-06  Michael Meissner  <meissner@linux.vnet.ibm.com>
      
      	PR target/64205
      	* config/rs6000/rs6000.c (rs6000_init_hard_regno_mode_ok): Do not
      	add a general secondary reload handler for SDmode, unless we have
      	both read/write support for SDmode.
      
      [gcc/testsuite]
      2015-02-06  Michael Meissner  <meissner@linux.vnet.ibm.com>
      
      	PR target/64205
      	* gcc.target/powerpc/pr64205.c: New file.
      
      From-SVN: r220485
      Michael Meissner committed