re PR testsuite/52297 (FAIL: gcc.dg/lto/trans-mem-1 c_lto_trans-mem-1_0.o-c_lto_trans-mem-1_1.o link, -flto -fgnu-tm)

2012-02-29  Richard Guenther  <rguenther@suse.de>

	PR testsuite/52297
	* gcc.dg/lto/trans-mem-1_0.c: Remove.
	* gcc.dg/lto/trans-mem-1_1.c: Likewise.
	* gcc.dg/lto/trans-mem-2_0.c: Likewise.
	* gcc.dg/lto/trans-mem-2_1.c: Likewise.
	* gcc.dg/lto/trans-mem-4_0.c: Likewise.
	* gcc.dg/lto/trans-mem-4_1.c: Likewise.

From-SVN: r184657
This commit is contained in:
Richard Guenther 2012-02-29 10:05:55 +00:00 committed by Richard Biener
parent df51e5022a
commit e80cd3b096
7 changed files with 10 additions and 54 deletions

View File

@ -1,3 +1,13 @@
2012-02-29 Richard Guenther <rguenther@suse.de>
PR testsuite/52297
* gcc.dg/lto/trans-mem-1_0.c: Remove.
* gcc.dg/lto/trans-mem-1_1.c: Likewise.
* gcc.dg/lto/trans-mem-2_0.c: Likewise.
* gcc.dg/lto/trans-mem-2_1.c: Likewise.
* gcc.dg/lto/trans-mem-4_0.c: Likewise.
* gcc.dg/lto/trans-mem-4_1.c: Likewise.
2012-02-29 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/torture/pr52402.c: Add -w -Wno-psabi to dg-options.

View File

@ -1,14 +0,0 @@
/* { dg-lto-options {{-flto -fgnu-tm}} } */
/* { dg-lto-do link } */
/* { dg-require-effective-target stdint_types } */
/* { dg-require-effective-target fgnu_tm } */
int i;
main()
{
__transaction_atomic
{
i = 0;
}
}

View File

@ -1 +0,0 @@
#include "trans-mem.h"

View File

@ -1,16 +0,0 @@
/* { dg-lto-options {{-flto -fgnu-tm}} } */
/* { dg-lto-do link } */
/* { dg-require-effective-target stdint_types } */
/* { dg-require-effective-target fgnu_tm } */
#include "trans-mem.h"
extern void foobar() __attribute__((transaction_callable));
main()
{
__transaction_relaxed
{
foobar();
}
}

View File

@ -1,4 +0,0 @@
__attribute__((transaction_callable,noinline))
void foobar()
{
}

View File

@ -1,13 +0,0 @@
/* { dg-lto-options {{-flto -fgnu-tm}} } */
/* { dg-lto-do link } */
/* { dg-require-effective-target stdint_types } */
/* { dg-require-effective-target fgnu_tm } */
extern void foo() __attribute__((transaction_safe));
int main()
{
__transaction_atomic {
foo();
}
}

View File

@ -1,6 +0,0 @@
#include "trans-mem.h"
__attribute__((transaction_safe))
void foo()
{
}