diff options
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/pr78768.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 7fd80a0..3cc4eaf 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2017-01-12 David Edelsohn <dje.gcc@gmail.com> + + * gcc.dg/pr78768.c: Require LTO. + 2017-01-12 Martin Sebor <msebor@redhat.com> PR c/79074 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) |