2024-10-06 John David Anglin <danglin@gcc.gnu.org>
gcc/testsuite/ChangeLog:
* g++.dg/cpp0x/noexcept87.C: Require lto.
* g++.dg/ext/pragma-unroll-lambda-lto.C: Likewise.
* gcc.dg/enum-alias-3.c: Likewise.
// PR c++/115223
// { dg-do compile { target c++11 } }
+// { dg-require-effective-target lto }
// { dg-additional-options -flto }
template<class T>
// { dg-do link { target c++11 } }
+// { dg-require-effective-target lto }
// { dg-options "-O2 -flto -fdump-rtl-loop2_unroll" }
// { dg-skip-if "requires hosted libstdc++ for cstdlib rand" { ! hostedlib } }
/* { dg-do run } */
+/* { dg-require-effective-target lto } */
/* { dg-options "-O2 -flto" } */
typedef int *A;