Commit cdff6356 by John David Anglin

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
parent 3b1cba46
2019-03-16 John David Anglin <danglin@gcc.gnu.org> 2019-03-16 John David Anglin <danglin@gcc.gnu.org>
PR testsuite/84174
* gcc.dg/Wattributes-6.c: Skip warning check at line 404 on
hppa*64*-*-*.
PR testsuite/83453 PR testsuite/83453
* c-c++-common/Wattributes.c: Skip a warning check on hppa*64*-*-*. * c-c++-common/Wattributes.c: Skip a warning check on hppa*64*-*-*.
......
...@@ -401,7 +401,7 @@ inline int ATTR ((warn_unused_result)) ...@@ -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." } */ finline_hot_noret_align (int); /* { dg-warning "ignoring attribute .warn_unused_result. because it conflicts with attribute .noreturn." } */
inline int ATTR ((aligned (4))) 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 } */ /* { dg-error "alignment for 'finline_hot_noret_align' must be at least 8" "" { target s390*-*-* } .-1 } */
inline int ATTR ((aligned (8))) inline int ATTR ((aligned (8)))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment