mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-23 19:03:59 +08:00
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>
This commit is contained in:
parent
880676d603
commit
6f0b0cdb8a
@ -1,3 +1,4 @@
|
||||
/* { dg-require-effective-target lto } */
|
||||
/* { dg-additional-options "-flto" } */
|
||||
/* PR middle-end/109816 */
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* { dg-require-effective-target lto } */
|
||||
/* { dg-additional-options "-flto" } */
|
||||
/* { dg-additional-options "-foffload-options=nvptx-none=-misa=sm_35" { target { offload_target_nvptx } } } */
|
||||
/* { dg-additional-sources requires-4-aux.c } */
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* { dg-require-effective-target lto } */
|
||||
/* { dg-additional-options "-flto" } */
|
||||
/* { dg-additional-options "-foffload-options=nvptx-none=-misa=sm_35" { target { offload_target_nvptx } } } */
|
||||
/* { dg-additional-sources requires-4-aux.c } */
|
||||
|
Loading…
Reference in New Issue
Block a user