This test needs alias support. Tested on hppa2.0w-hp-hpux11.11. Committed to trunk.
Dave -- John David Anglin dave.ang...@bell.net
2016-02-12 John David Anglin <dang...@gcc.gnu.org> * gcc.dg/pr67964.c: Add dg-require-alias. Index: gcc.dg/pr67964.c =================================================================== --- gcc.dg/pr67964.c (revision 233284) +++ gcc.dg/pr67964.c (working copy) @@ -1,5 +1,6 @@ /* PR c/67964 */ /* { dg-do compile } */ +/* { dg-require-alias "" } */ extern int fn0 (void) __attribute__ ((const const)); /* { dg-error "expected" } */ extern int fn1 (void) __attribute__ ((const, const));