[Bug testsuite/83453] FAIL: c-c++-common/Wattributes.c -std=gnu++98 (test for warnings, line 404)

dave.anglin at bell dot net gcc-bugzilla@gcc.gnu.org
Thu Feb 21 19:18:00 GMT 2019


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

--- Comment #5 from dave.anglin at bell dot net ---
On 2019-02-21 2:00 p.m., msebor at gcc dot gnu.org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83453
>
> --- Comment #4 from Martin Sebor <msebor at gcc dot gnu.org> ---
> The checking was relaxed to allow the attribute to specify a less restrictive
> alignment than the minimum provided by the target without triggering the
> warning, so the xfails can be removed.  The rationale for the relaxation is
> that a looser alignment is trivially satisfied by providing a stricter
> alignment.  The following discussion has the background:
> https://gcc.gnu.org/ml/gcc/2018-11/msg00127.html
>
Okay, I will remove hppa64 and s390 error check.  However, it seems the warning
at 404 is not generated
on hppa64 and s390, but it is on other targets.


More information about the Gcc-bugs mailing list