aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr78768.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/pr78768.c')
-rw-r--r--gcc/testsuite/gcc.dg/pr78768.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/pr78768.c b/gcc/testsuite/gcc.dg/pr78768.c
index e3d16a7e..229b85d 100644
--- a/gcc/testsuite/gcc.dg/pr78768.c
+++ b/gcc/testsuite/gcc.dg/pr78768.c
@@ -1,6 +1,7 @@
/* PR c/78768 - -Walloca-larger-than and -Wformat-length warnings disabled
by -flto
{ dg-do run }
+ { dg-require-effective-target lto }
{ dg-options "-O2 -Walloca-larger-than=10 -Wformat -Wformat-length -flto" } */
int main (void)