testsuite: dg-require LTO for libgomp LTO tests
commit6f0b0cdb8a2b169169697c5ca533a676d0da4089
authorDavid Edelsohn <dje.gcc@gmail.com>
Wed, 12 Jul 2023 18:31:20 +0000 (12 14:31 -0400)
committerDavid Edelsohn <dje.gcc@gmail.com>
Thu, 13 Jul 2023 12:54:20 +0000 (13 08:54 -0400)
treee44829c7613eae3da73f6b230e2ddaf591453016
parent880676d603979852f30b76b1e2a3532b95f08048
testsuite: dg-require LTO for libgomp LTO tests

Some test cases in libgomp testsuite pass -flto as an option, but
the testcases do not require LTO target support.  This patch adds
the necessary DejaGNU requirement for LTO support to the testcases..

libgomp/ChangeLog:
* testsuite/libgomp.c++/target-map-class-2.C: Require LTO.
* testsuite/libgomp.c-c++-common/requires-4.c: Require LTO.
* testsuite/libgomp.c-c++-common/requires-4a.c: Require LTO.

Signed-off-by: David Edelsohn <dje.gcc@gmail.com>
libgomp/testsuite/libgomp.c++/target-map-class-2.C
libgomp/testsuite/libgomp.c-c++-common/requires-4.c
libgomp/testsuite/libgomp.c-c++-common/requires-4a.c