From d539a57b063ba16628aa3c58f211b16fadde2afb Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Mon, 1 May 2017 18:31:07 +0000 Subject: [PATCH] Require linker plugin for pr78768.c The test-case has an xfail-ed line. For linkers without plugin support, that line happens to xpass. Require linker with plugin support, such that the line is no longer xpass-ing, but unsupported. 2017-05-01 Tom de Vries * gcc.dg/pr78768.c: Require linker plugin. From-SVN: r247443 --- 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 584eae59c68..4c2283a22b5 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2017-05-01 Tom de Vries + + * gcc.dg/pr78768.c: Require linker plugin. + 2017-05-01 Thomas Koenig PR fortran/37131 diff --git a/gcc/testsuite/gcc.dg/pr78768.c b/gcc/testsuite/gcc.dg/pr78768.c index 68d717a61a5..b6cda47c6a8 100644 --- a/gcc/testsuite/gcc.dg/pr78768.c +++ b/gcc/testsuite/gcc.dg/pr78768.c @@ -2,6 +2,7 @@ by -flto { dg-do link } { dg-require-effective-target lto } + { dg-require-linker-plugin "" } { dg-options "-O2 -Walloca-larger-than=10 -Wformat -Wformat-overflow -flto" } */ int main (void) -- 2.30.2