]> git.ipfire.org Git - thirdparty/gcc.git/commit
simulate-thread.gdb: Use return value from simulate_thread_wrapper_other_threads
authorAndrew MacLeod <amacleod@redhat.com>
Fri, 24 Feb 2012 21:16:26 +0000 (21:16 +0000)
committerAndrew Macleod <amacleod@gcc.gnu.org>
Fri, 24 Feb 2012 21:16:26 +0000 (21:16 +0000)
commit9fced7562f07a2ff569dbb472f5f600d56fd0859
treea0b3d285254aa38e8077dc9baf77a4aca28fda76
parent15498cfa4ee495c125aaf847a77bf1001505178b
simulate-thread.gdb: Use return value from simulate_thread_wrapper_other_threads

* gcc.dg/simulate-thread/simulate-thread.gdb: Use return value from
simulate_thread_wrapper_other_threads
* gcc.dg/simulate-thread/atomic-load-int128.c (simulate_thread_main):
Move initialization of 'value' to main().
(main): Initialize 'value';
* gcc.dg/simulate-thread/speculative-store.c
(simulate_thread_step_verify): Return 0 when successful.
* gcc.dg/simulate-thread/simulate-thread.h (HOSTILE_THREAD_THRESHOLD):
Reduce threshold.
(INSN_COUNT_THRESHOLD): New.  Instruction limit to terminate test.
(simulate_thread_wrapper_other_threads): Return a success/fail value
and issue an error if the instruction count threshold is exceeded.

From-SVN: r184564
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/simulate-thread/atomic-load-int128.c
gcc/testsuite/gcc.dg/simulate-thread/simulate-thread.gdb
gcc/testsuite/gcc.dg/simulate-thread/simulate-thread.h
gcc/testsuite/gcc.dg/simulate-thread/speculative-store.c