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  <hainque@adacore.com>

gcc/testsuite/
	* gcc.dg/tree-ssa/pr71077.c: Add
	dg-require-effective-target lto.
This commit is contained in:
Olivier Hainque 2020-02-28 16:44:57 +00:00
parent aa23a2dd53
commit 87a9861b06

View file

@ -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;