OSDN Git Service

* gcc.dg/simulate-thread/simulate-thread.gdb: Use return value from
authoramacleod <amacleod@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 24 Feb 2012 21:16:26 +0000 (21:16 +0000)
committeramacleod <amacleod@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 24 Feb 2012 21:16:26 +0000 (21:16 +0000)
commitdd3507c6eb4dff018a57bb741fe69f5b653db7b0
treea0b3d285254aa38e8077dc9baf77a4aca28fda76
parent70c722224af2d9296c7a7ae15d4c8930abcba355
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184564 138bc75d-0d04-0410-961f-82ee72b054a4
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