https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90806
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |msebor at gcc dot gnu.org --- Comment #5 from Martin Sebor <msebor at gcc dot gnu.org> --- 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.