This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[committed] Fix failure of c-c++-common/Wattributes.c on hppa*64*-*-*
- From: John David Anglin <dave dot anglin at bell dot net>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 16 Mar 2019 11:52:30 -0400
- Subject: [committed] Fix failure of c-c++-common/Wattributes.c on hppa*64*-*-*
Committed to trunk.
Dave
--
John David Anglin dave.anglin@bell.net
2019-03-16 John David Anglin <danglin@gcc.gnu.org>
PR testsuite/83453
* c-c++-common/Wattributes.c: Skip a warning check on hppa*64*-*-*.
Index: c-c++-common/Wattributes.c
===================================================================
--- c-c++-common/Wattributes.c (revision 269717)
+++ c-c++-common/Wattributes.c (working copy)
@@ -401,7 +401,7 @@
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)))