From: John David Anglin Date: Sat, 16 Mar 2019 15:44:25 +0000 (+0000) Subject: re PR testsuite/83453 (FAIL: c-c++-common/Wattributes.c -std=gnu++98 (test for... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3b1cba46794ddf9f7701c52d7585be57f53d11da;p=gcc.git re PR testsuite/83453 (FAIL: c-c++-common/Wattributes.c -std=gnu++98 (test for warnings, line 404)) PR testsuite/83453 * c-c++-common/Wattributes.c: Skip a warning check on hppa*64*-*-*. From-SVN: r269727 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index d44e97c262a..5116299a4b7 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,8 @@ 2019-03-16 John David Anglin + PR testsuite/83453 + * c-c++-common/Wattributes.c: Skip a warning check on hppa*64*-*-*. + * lib/target-supports.exp (check_ascii_locale_available): Remove hppa*-*-hpux*. diff --git a/gcc/testsuite/c-c++-common/Wattributes.c b/gcc/testsuite/c-c++-common/Wattributes.c index 6925d4eaacd..3f176a04660 100644 --- a/gcc/testsuite/c-c++-common/Wattributes.c +++ b/gcc/testsuite/c-c++-common/Wattributes.c @@ -401,7 +401,7 @@ inline int ATTR ((warn_unused_result)) finline_hot_noret_align (int); /* { dg-warning "ignoring attribute .warn_unused_result. because it conflicts with attribute .noreturn." } */ inline int ATTR ((aligned (4))) - finline_hot_noret_align (int); /* { dg-warning "ignoring attribute .aligned \\(4\\). because it conflicts with attribute .aligned \\(8\\)." "" { target { ! s390*-*-* } } } */ + finline_hot_noret_align (int); /* { dg-warning "ignoring attribute .aligned \\(4\\). because it conflicts with attribute .aligned \\(8\\)." "" { target { ! { hppa*64*-*-* s390*-*-* } } } } */ /* { dg-error "alignment for '.*finline_hot_noret_align.*' must be at least 8" "" { target s390*-*-* } .-1 } */ inline int ATTR ((aligned (8)))