From e95ca1333dfa819dfcde579ec06cad7dac0a1d0b Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Tue, 4 Dec 2018 15:55:34 +0000 Subject: [PATCH] * gcc.dg/live-patching-2.c: Require LTO. From-SVN: r266787 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.dg/live-patching-2.c | 1 + 2 files changed, 5 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index fc2df999e91..558f0deed0f 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2018-12-04 David Edelsohn + + * gcc.dg/live-patching-2.c: Require LTO. + 2018-12-04 Iain Sandoe PR testsuite/88310 diff --git a/gcc/testsuite/gcc.dg/live-patching-2.c b/gcc/testsuite/gcc.dg/live-patching-2.c index b418aaf2245..0dde4e9e0c0 100644 --- a/gcc/testsuite/gcc.dg/live-patching-2.c +++ b/gcc/testsuite/gcc.dg/live-patching-2.c @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-require-effective-target lto } */ /* { dg-options "-O2 -flive-patching -flto" } */ int main() -- 2.30.2