From cdff63563468223ab1230041a846b3558ed275c2 Mon Sep 17 00:00:00 2001 From: John David Anglin Date: Sat, 16 Mar 2019 16:39:49 +0000 Subject: [PATCH] re PR testsuite/84174 (FAIL: gcc.dg/Wattributes-6.c (test for warnings, line 404)) PR testsuite/84174 * gcc.dg/Wattributes-6.c: Skip warning check at line 404 on hppa*64*-*-*. From-SVN: r269728 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.dg/Wattributes-6.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 5116299a4b7..346e6461597 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,9 @@ 2019-03-16 John David Anglin + PR testsuite/84174 + * gcc.dg/Wattributes-6.c: Skip warning check at line 404 on + hppa*64*-*-*. + PR testsuite/83453 * c-c++-common/Wattributes.c: Skip a warning check on hppa*64*-*-*. diff --git a/gcc/testsuite/gcc.dg/Wattributes-6.c b/gcc/testsuite/gcc.dg/Wattributes-6.c index b2ea7db1833..d3dd22d85b9 100644 --- a/gcc/testsuite/gcc.dg/Wattributes-6.c +++ b/gcc/testsuite/gcc.dg/Wattributes-6.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))) -- 2.30.2