From 87a9861b068660bbc5eb94978e1ba0026a4e23b8 Mon Sep 17 00:00:00 2001 From: Olivier Hainque Date: Fri, 28 Feb 2020 16:44:57 +0000 Subject: [PATCH] Add missing require-effective-target lto This prevents failure of an lto test in configurations missing LTO support, such as VxWorks for kernel mode. 2020-11-02 Olivier Hainque gcc/testsuite/ * gcc.dg/tree-ssa/pr71077.c: Add dg-require-effective-target lto. --- gcc/testsuite/gcc.dg/tree-ssa/pr71077.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr71077.c b/gcc/testsuite/gcc.dg/tree-ssa/pr71077.c index 4753740f762..259055fbe9a 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/pr71077.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/pr71077.c @@ -1,5 +1,6 @@ /* PR c++/71077 */ /* { dg-do link { target { i?86-*-* x86_64-*-* } } } */ +/* { dg-require-effective-target lto } */ /* { dg-options "-O3 -flto -march=core-avx2" } */ int *a; -- 2.30.2