aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancois-Xavier Coudert <fxcoudert@gmail.com>2021-12-19 12:23:32 +0100
committerFrancois-Xavier Coudert <fxcoudert@gmail.com>2021-12-19 12:23:32 +0100
commitba64166bf81b6eaa6e12e1aab786f22f6605401f (patch)
tree93cd9faac88a046ec90f41c147dd6af1fce87c58
parentd957d250942b130142c62afa1a67146b655b91d7 (diff)
downloadgcc-ba64166bf81b6eaa6e12e1aab786f22f6605401f.zip
gcc-ba64166bf81b6eaa6e12e1aab786f22f6605401f.tar.gz
gcc-ba64166bf81b6eaa6e12e1aab786f22f6605401f.tar.bz2
testsuite: mark tests that require alias
gcc/testsuite/ChangeLog: * gcc.dg/pr100509.c: Needs alias. * gcc.dg/pragma-diag-10.c: Needs alias.
-rw-r--r--gcc/testsuite/gcc.dg/pr100509.c1
-rw-r--r--gcc/testsuite/gcc.dg/pragma-diag-10.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/pr100509.c b/gcc/testsuite/gcc.dg/pr100509.c
index 9405e2a..38e7002 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 127b299..a1637be 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)