Commit e80cd3b0 by Richard Guenther Committed by Richard Biener

re PR testsuite/52297 (FAIL: gcc.dg/lto/trans-mem-1…

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
parent df51e502
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.
......
/* { 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;
}
}
/* { 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();
}
}
__attribute__((transaction_callable,noinline))
void foobar()
{
}
/* { 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();
}
}
#include "trans-mem.h"
__attribute__((transaction_safe))
void foo()
{
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment