[committed] hppa: Don't skip check for warning at line 411 in Wattributes.c on hppa*64*-*-*

Message ID ZV-mtaDZJhqKnOgs@mx3210.localdomain
State Accepted
Headers
Series [committed] hppa: Don't skip check for warning at line 411 in Wattributes.c on hppa*64*-*-* |

Checks

Context Check Description
snail/gcc-patch-check success Github commit url

Commit Message

John David Anglin Nov. 23, 2023, 7:23 p.m. UTC
  The warning is now properly generated.

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

Dave
---

Don't skip check for warning at line 411 in Wattributes.c on hppa*64*-*-*

2023-11-23  John David Anglin  <danglin@gcc.gnu.org>

gcc/testsuite/ChangeLog:

	* c-c++-common/Wattributes.c: Don't skip check for warning
	at line 411 in Wattributes.c on hppa*64*-*-*.
  

Patch

diff --git a/gcc/testsuite/c-c++-common/Wattributes.c b/gcc/testsuite/c-c++-common/Wattributes.c
index 978f3f938e9..49a085def9e 100644
--- a/gcc/testsuite/c-c++-common/Wattributes.c
+++ b/gcc/testsuite/c-c++-common/Wattributes.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" } */