thread_leak2.c: `dg-skip-if' removed.

2013-12-10  Max Ostapenko  <m.ostapenko@partner.samsung.com>

	* c-c++-common/tsan/thread_leak2.c: `dg-skip-if' removed.
	* gcc-dg/tsan/tsan.exp: Run only with '-O0' and '-O2' options.
	* g++-dg/tsan/tsan.exp: Likewise.

From-SVN: r205853
This commit is contained in:
Max Ostapenko 2013-12-10 12:36:40 +02:00 committed by Yury Gribov
parent a1067b0911
commit 475948faca
4 changed files with 18 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2013-12-10 Max Ostapenko <m.ostapenko@partner.samsung.com>
* c-c++-common/tsan/thread_leak2.c: `dg-skip-if' removed.
* gcc-dg/tsan/tsan.exp: Run only with '-O0' and '-O2' options.
* g++-dg/tsan/tsan.exp: Likewise.
2013-12-10 Eric Botcazou <ebotcazou@adacore.com>
* gcc.dg/vect/pr58508.c: XFAIL for vect_no_align.

View File

@ -1,6 +1,5 @@
/* { dg-do run } */
/* { dg-shouldfail "tsan" } */
/* { dg-skip-if "" { *-*-* } { "-O3 -funroll-loops" "-O3 -funroll-all-loops" } { "" } } */
#include <pthread.h>
#include <unistd.h>

View File

@ -21,6 +21,7 @@
# Load support procs.
load_lib g++-dg.exp
load_lib tsan-dg.exp
load_lib torture-options.exp
if ![check_effective_target_fthread_sanitizer] {
return
@ -28,6 +29,11 @@ if ![check_effective_target_fthread_sanitizer] {
# Initialize `dg'.
dg-init
torture-init
set-torture-options [list \
{ -O0 } \
{ -O2 } ]
if [tsan_init] {
# Main loop.

View File

@ -21,6 +21,7 @@
# Load support procs.
load_lib gcc-dg.exp
load_lib tsan-dg.exp
load_lib torture-options.exp
if ![check_effective_target_fthread_sanitizer] {
return
@ -28,6 +29,11 @@ if ![check_effective_target_fthread_sanitizer] {
# Initialize `dg'.
dg-init
torture-init
set-torture-options [list \
{ -O0 } \
{ -O2 } ]
if [tsan_init] {
# Main loop.