* gcc.dg/pr78768.c: Require LTO.
authorDavid Edelsohn <dje.gcc@gmail.com>
Thu, 12 Jan 2017 18:27:04 +0000 (18:27 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Thu, 12 Jan 2017 18:27:04 +0000 (13:27 -0500)
From-SVN: r244379

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr78768.c

index 7fd80a0..3cc4eaf 100644 (file)
@@ -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
index e3d16a7..229b85d 100644 (file)
@@ -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)