[gcc r12-6062] testsuite: mark tests that require alias

Franथईois-Xavier Coudert fxcoudert@gcc.gnu.org
Sun Dec 19 14:34:06 GMT 2021


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)


More information about the Gcc-cvs mailing list