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

--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---

The command line which is able to reproduce on aarch64:
../prev-gcc/cc1plus -fpreprocessed t.ii -quiet -dumpdir rust/ -dumpbase
rust-ast-full-test.cc -dumpbase-ext .cc  -g -g -gtoggle -O2 -O2 -Wextra -Wall
-Wno-narrowing -Wwrite-strings -Wcast-qual -Wsuggest-attribute=format
-Woverloaded-virtual=2 -Wpedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -Werror -Wno-unused-parameter -version -fno-PIE
-fno-exceptions -fno-rtti -fasynchronous-unwind-tables -fno-common
-fno-checking -o rust/rust-ast-full-test.s

But the following command line which does not produce the warning (still on
aarch64):
../prev-gcc/cc1plus t.ii -fpreprocessed -quiet -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror
-Wno-unused-parameter -fno-common -o t.s


Note I can't reproduce it on x86_64 with cc1plus built from
r13-4401-gf57ff189572575 .

Reply via email to