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