[testsuite] Require non_strict_prototype in a few tests
authorTom de Vries <tdevries@suse.de>
Wed, 9 Feb 2022 15:48:27 +0000 (16:48 +0100)
committerTom de Vries <tdevries@suse.de>
Fri, 11 Feb 2022 07:44:20 +0000 (08:44 +0100)
Require effective target non_strict_prototype in a few test-cases.

Tested on nvptx.

gcc/testsuite/ChangeLog:

2022-02-10  Tom de Vries  <tdevries@suse.de>

* gcc.c-torture/compile/pr100576.c: Require effective target
non_strict_prototype.
* gcc.c-torture/compile/pr97576.c: Same.

gcc/testsuite/gcc.c-torture/compile/pr100576.c
gcc/testsuite/gcc.c-torture/compile/pr97576.c

index f2f40ec..f16a822 100644 (file)
@@ -1,3 +1,5 @@
+/* { dg-require-effective-target non_strict_prototype } */
+
 /* PR middle-end/100576 */
 
 const char v[] = {0x12};
index 28294c8..d281613 100644 (file)
@@ -1,3 +1,5 @@
+/* { dg-require-effective-target non_strict_prototype } */
+
 void
 pc (void);