Tested on hppa64-hp-hpux11.11.  Committed to trunk.

Dave
---

Fix dg-warning on hppa*64*-*-*

2024-01-14  John David Anglin  <dang...@gcc.gnu.org>

gcc/testsuite/ChangeLog:

        * gcc.dg/Wattributes-6.c: Fix dg-warning on hppa*64*-*-*.

diff --git a/gcc/testsuite/gcc.dg/Wattributes-6.c 
b/gcc/testsuite/gcc.dg/Wattributes-6.c
index 978f3f938e9..49a085def9e 100644
--- a/gcc/testsuite/gcc.dg/Wattributes-6.c
+++ b/gcc/testsuite/gcc.dg/Wattributes-6.c
@@ -408,7 +408,7 @@ finline_hot_noret_align (int);  /* { dg-warning "ignoring 
attribute .warn_unused
                                /* { dg-note    "previous declaration here" "" 
{ target *-*-* } .-1 } */
 
 inline int ATTR ((aligned (4)))
-  finline_hot_noret_align (int);  /* { dg-warning "ignoring attribute .aligned 
\\(4\\). because it conflicts with attribute .aligned \\(8\\)." "" { target { ! 
{ hppa*64*-*-* } } } } */
+  finline_hot_noret_align (int);  /* { dg-warning "ignoring attribute .aligned 
\\(4\\). because it conflicts with attribute .aligned \\(8\\)." "" } */
 
 inline int ATTR ((aligned (8)))
 finline_hot_noret_align (int);  /* { dg-note   "previous declaration here" } */

Attachment: signature.asc
Description: PGP signature

Reply via email to