[Bug c++/106072] Bogus -Wnonnull warning breaks rust bootstrap

ro at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jun 28 12:56:08 GMT 2022


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

--- Comment #1 from Rainer Orth <ro at gcc dot gnu.org> ---
While creduce produced a 198-byte file from the original 3.5 MB source which
still
shows the warning/error, it is correct in that case.

I'm attaching the original preprocessed source instead.  It shows the error
with

cc1plus -fpreprocessed -quiet -mcpu=v9 -O2 -Wall -Wno-narrowing
-Wno-error=format-diag -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -Werror -Wno-unused-parameter -std=c++11

on SPARC.


More information about the Gcc-bugs mailing list