https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83453

--- Comment #3 from John David Anglin <danglin at gcc dot gnu.org> ---
The test was fixed to handle error at 404 on hppa64 and s390:

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*-*-* s390*-*-* } } } } */
/* { dg-error "alignment for '.*finline_hot_noret_align.*' must be at least 8"
"
" { target hppa*64*-*-* s390*-*-* } .-1 } */

However, the error no longer occurs with gcc-9:

/test/gnu/gcc/gcc/gcc/testsuite/c-c++-common/Wattributes.c:398:29: warning:
igno
ring attribute 'cold' because it conflicts with attribute 'hot' [-Wattributes]
/test/gnu/gcc/gcc/gcc/testsuite/c-c++-common/Wattributes.c:395:1: note:
previous
 declaration here
/test/gnu/gcc/gcc/gcc/testsuite/c-c++-common/Wattributes.c:401:29: warning:
igno
ring attribute 'warn_unused_result' because it conflicts with attribute
'noretur
n' [-Wattributes]
/test/gnu/gcc/gcc/gcc/testsuite/c-c++-common/Wattributes.c:398:1: note:
previous
 declaration here
/test/gnu/gcc/gcc/gcc/testsuite/c-c++-common/Wattributes.c:411:29: warning:
igno
ring attribute 'const' because it conflicts with attribute 'noreturn'
[-Wattribu
tes]
/test/gnu/gcc/gcc/gcc/testsuite/c-c++-common/Wattributes.c:408:1: note:
previous
 declaration here
/test/gnu/gcc/gcc/gcc/testsuite/c-c++-common/Wattributes.c:425:1: warning:
ignor
ing attribute 'nocommon' because it conflicts with attribute 'common'
[-Wattribu
tes]
/test/gnu/gcc/gcc/gcc/testsuite/c-c++-common/Wattributes.c:422:1: note:
previous
 declaration here

Reply via email to