public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-7192] [testsuite] Require non_strict_prototype in a few tests
@ 2022-02-11  7:46 Tom de Vries
  0 siblings, 0 replies; only message in thread
From: Tom de Vries @ 2022-02-11  7:46 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:7cc6a8d00af8a2ca8303a2894286911b8898da83

commit r12-7192-g7cc6a8d00af8a2ca8303a2894286911b8898da83
Author: Tom de Vries <tdevries@suse.de>
Date:   Wed Feb 9 16:48:27 2022 +0100

    [testsuite] Require non_strict_prototype in a few tests
    
    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.

Diff:
---
 gcc/testsuite/gcc.c-torture/compile/pr100576.c | 2 ++
 gcc/testsuite/gcc.c-torture/compile/pr97576.c  | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/gcc/testsuite/gcc.c-torture/compile/pr100576.c b/gcc/testsuite/gcc.c-torture/compile/pr100576.c
index f2f40ec4512..f16a8224c6e 100644
--- a/gcc/testsuite/gcc.c-torture/compile/pr100576.c
+++ b/gcc/testsuite/gcc.c-torture/compile/pr100576.c
@@ -1,3 +1,5 @@
+/* { dg-require-effective-target non_strict_prototype } */
+
 /* PR middle-end/100576 */
 
 const char v[] = {0x12};
diff --git a/gcc/testsuite/gcc.c-torture/compile/pr97576.c b/gcc/testsuite/gcc.c-torture/compile/pr97576.c
index 28294c8597a..d2816132cc0 100644
--- a/gcc/testsuite/gcc.c-torture/compile/pr97576.c
+++ b/gcc/testsuite/gcc.c-torture/compile/pr97576.c
@@ -1,3 +1,5 @@
+/* { dg-require-effective-target non_strict_prototype } */
+
 void
 pc (void);


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-02-11  7:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-11  7:46 [gcc r12-7192] [testsuite] Require non_strict_prototype in a few tests Tom de Vries

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).