aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg')
-rw-r--r--gcc/testsuite/gcc.dg/tm/lto-1.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/tm/lto-1.c b/gcc/testsuite/gcc.dg/tm/lto-1.c
index c254b3e..4c03178 100644
--- a/gcc/testsuite/gcc.dg/tm/lto-1.c
+++ b/gcc/testsuite/gcc.dg/tm/lto-1.c
@@ -1,4 +1,5 @@
/* { dg-do compile } */
+/* { dg-require-effective-target lto } */
/* { dg-options "-fgnu-tm -flto" } */
__attribute__((transaction_safe))