[Bug testsuite/90806] Warray-bounds-2.c fail on cross-aarch64 on RH6 host
egallager at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Dec 23 04:06:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90806
Eric Gallager <egallager at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks| |84774
--- Comment #7 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Martin Sebor from comment #5)
> Are the same messages issued by GCC when the test is compiled by hand? Are
> the translation units for the test the same? The test #includes <string.h>
> when __has_include (<string.h>) is true so making sure that behaves the same
> way would be my first step. The warning is issued by the -Wrestrict pass so
> the -fdump-tree-wrestrict output would be the next thing to look at.
That seems odd for the -Wrestrict pass to emit -Warray-bounds warnings; I would
generally expect passes named for warnings to only emit warnings that share
that name...
Referenced Bugs:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84774
[Bug 84774] [meta-bug] bogus/missing -Wrestrict
More information about the Gcc-bugs
mailing list