testsuite - Require alias support for three tests.
authorIain Sandoe <iain@sandoe.co.uk>
Tue, 8 Jan 2019 09:15:34 +0000 (09:15 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Tue, 8 Jan 2019 09:15:34 +0000 (09:15 +0000)
2019-01-08  Iain Sandoe  <iain@sandoe.co.uk>

gcc/testsuite/

* gcc.dg/Wmissing-attributes.c: Require alias support.
* gcc.dg/attr-copy-2.c: Likewise.
* gcc.dg/attr-copy-5.c: Likewise.

From-SVN: r267673

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/Wmissing-attributes.c
gcc/testsuite/gcc.dg/attr-copy-2.c
gcc/testsuite/gcc.dg/attr-copy-5.c

index 552ba4dd9778a3eb85bfdf3bcde455024992dc90..0bd59d5caa6b786047319857be8edc97708036da 100644 (file)
@@ -1,3 +1,9 @@
+2019-01-08  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * gcc.dg/Wmissing-attributes.c: Require alias support.
+       * gcc.dg/attr-copy-2.c: Likewise.
+       * gcc.dg/attr-copy-5.c: Likewise.
+
 2019-01-08  Jonathan Wakely  <jwakely@redhat.com>
            Jakub Jelinek  <jakub@redhat.com>
 
index 2a981828a29d9d05463fb5bff0f4c39e486c4a9b..049a4c095bd224d2b8d5b5ae79b8d8a9e0bb23ee 100644 (file)
@@ -1,5 +1,6 @@
 /* PR middle-end/81824 - Warn for missing attributes with function aliases
    { dg-do compile }
+   { dg-require-alias "" }
    { dg-options "-Wall" } */
 
 #define ATTR(list)   __attribute__ (list)
index 39e5f087dead6d6af43cd1ea1df704ad53932432..8564811fc0b8e3e915eaff8d1300bd025ae64b7b 100644 (file)
@@ -1,6 +1,7 @@
 /* PR middle-end/81824 - Warn for missing attributes with function aliases
    Exercise attribute copy for functions.
    { dg-do compile }
+   { dg-require-alias "" }
    { dg-options "-O2 -Wall" } */
 
 #define Assert(expr)   typedef char AssertExpr[2 * !!(expr) - 1]
index b085cf968ac9cb29765670306c1df157e08bbde2..24cd6e7aa7b1ad9886f90eeaf730fafc7bcf0ef6 100644 (file)
@@ -3,6 +3,7 @@
    copied.  Also verify that copying attribute tls_model to a non-thread
    variable triggers a warning.
    { dg-do compile }
+   { dg-require-alias "" }
    { dg-options "-Wall" }
    { dg-require-effective-target tls } */