[committed,testsuite] Require non_strict_prototype in a few tests
Commit Message
Hi,
Require effective target non_strict_prototype in a few test-cases.
Tested on nvptx.
Committed to trunk.
Thanks,
- Tom
[testsuite] Require non_strict_prototype in a few tests
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 | 2 ++
gcc/testsuite/gcc.c-torture/compile/pr97576.c | 2 ++
2 files changed, 4 insertions(+)
@@ -1,3 +1,5 @@
+/* { dg-require-effective-target non_strict_prototype } */
+
/* PR middle-end/100576 */
const char v[] = {0x12};
@@ -1,3 +1,5 @@
+/* { dg-require-effective-target non_strict_prototype } */
+
void
pc (void);