public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-6062] testsuite: mark tests that require alias
@ 2021-12-19 14:34 Franथईois-Xavier Coudert
0 siblings, 0 replies; only message in thread
From: Franथईois-Xavier Coudert @ 2021-12-19 14:34 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:ba64166bf81b6eaa6e12e1aab786f22f6605401f
commit r12-6062-gba64166bf81b6eaa6e12e1aab786f22f6605401f
Author: Francois-Xavier Coudert <fxcoudert@gmail.com>
Date: Sun Dec 19 12:23:32 2021 +0100
testsuite: mark tests that require alias
gcc/testsuite/ChangeLog:
* gcc.dg/pr100509.c: Needs alias.
* gcc.dg/pragma-diag-10.c: Needs alias.
Diff:
---
gcc/testsuite/gcc.dg/pr100509.c | 1 +
gcc/testsuite/gcc.dg/pragma-diag-10.c | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/gcc/testsuite/gcc.dg/pr100509.c b/gcc/testsuite/gcc.dg/pr100509.c
index 9405e2a27df..38e7002ae02 100644
--- a/gcc/testsuite/gcc.dg/pr100509.c
+++ b/gcc/testsuite/gcc.dg/pr100509.c
@@ -1,5 +1,6 @@
/* { dg-do compile } */
/* { dg-options "-O" } */
+/* { dg-require-alias "" } */
struct X {
int a;
diff --git a/gcc/testsuite/gcc.dg/pragma-diag-10.c b/gcc/testsuite/gcc.dg/pragma-diag-10.c
index 127b299939a..a1637bea26b 100644
--- a/gcc/testsuite/gcc.dg/pragma-diag-10.c
+++ b/gcc/testsuite/gcc.dg/pragma-diag-10.c
@@ -1,7 +1,8 @@
/* PR middle-end/98512 - #pragma GCC diagnostic ignored ineffective
in conjunction with alias attribute
{ dg-do compile }
- { dg-options "-O2 -Wall" } */
+ { dg-options "-O2 -Wall" }
+ { dg-require-alias "" } */
void *
__rawmemchr_ppc (const void *s, int c)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-12-19 14:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-19 14:34 [gcc r12-6062] testsuite: mark tests that require alias Franथईois-Xavier Coudert
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).