]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite, Darwin: Skip an unsupported test.
authorIain Sandoe <iain@sandoe.co.uk>
Sun, 19 Jun 2022 09:28:05 +0000 (10:28 +0100)
committerIain Sandoe <iain@sandoe.co.uk>
Mon, 20 Jun 2022 15:23:49 +0000 (16:23 +0100)
Darwin does not support patchable function entries, skip the test
there.

gcc/testsuite/ChangeLog:

* g++.dg/modules/pr105169_a.C: Skip the test on Darwin.
* g++.dg/modules/pr105169_b.C: Likewise.

gcc/testsuite/g++.dg/modules/pr105169_a.C
gcc/testsuite/g++.dg/modules/pr105169_b.C

index 02660b3a0e40a7328b4243b8702260a0e25a8e09..e4ec855ab4997dcfa894939588e231039a69e5bc 100644 (file)
@@ -1,4 +1,4 @@
-/* { dg-module-do link } */
+/* { dg-module-do link { target { ! *-*-darwin* } } } */
 /* { dg-options "-std=c++11 -fpatchable-function-entry=2 -O2" } */
 /* { dg-additional-options "-std=c++11 -fpatchable-function-entry=2 -O2" } */
 
index 7a9c5863a6a25c5c1462b02641d54aab3d0a7b69..afbb12927e47334f9ca43a795e7ca56b340afbd3 100644 (file)
@@ -1,4 +1,4 @@
-/* { dg-module-do link } */
+/* { dg-module-do link { target { ! *-*-darwin* } } } */
 /* { dg-options "-std=c++11 -fpatchable-function-entry=2 -O2" } */
 /* { dg-additional-options "-std=c++11 -fpatchable-function-entry=2 -O2" } */