* gcc.dg/live-patching-2.c: Require LTO.
authorDavid Edelsohn <dje.gcc@gmail.com>
Tue, 4 Dec 2018 15:55:34 +0000 (15:55 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Tue, 4 Dec 2018 15:55:34 +0000 (10:55 -0500)
From-SVN: r266787

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/live-patching-2.c

index fc2df999e91b2528e6e7a4dca500e3463916e383..558f0deed0f97ff66ed1fa9654a7c322501812f5 100644 (file)
@@ -1,3 +1,7 @@
+2018-12-04  David Edelsohn  <dje.gcc@gmail.com>
+
+       * gcc.dg/live-patching-2.c: Require LTO.
+
 2018-12-04  Iain Sandoe  <iain@sandoe.co.uk>
 
        PR testsuite/88310
index b418aaf2245f6aa55c3af5a463ac6c14bd2504eb..0dde4e9e0c07110514f425342c441b24d4dd0772 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-require-effective-target lto } */
 /* { dg-options "-O2 -flive-patching -flto" } */
 
 int main()