From b7431c206e240162e254023e1d216d13ba74c662 Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Thu, 12 Jan 2017 18:27:04 +0000 Subject: [PATCH] * gcc.dg/pr78768.c: Require LTO. From-SVN: r244379 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.dg/pr78768.c | 1 + 2 files changed, 5 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 7fd80a03fb9..3cc4eafd393 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2017-01-12 David Edelsohn + + * gcc.dg/pr78768.c: Require LTO. + 2017-01-12 Martin Sebor PR c/79074 diff --git a/gcc/testsuite/gcc.dg/pr78768.c b/gcc/testsuite/gcc.dg/pr78768.c index e3d16a7ea63..229b85d9f05 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) -- 2.30.2