https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104134
Rimvydas (RJ) <rimvydas.jas at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rimvydas.jas at gmail dot com --- Comment #13 from Rimvydas (RJ) <rimvydas.jas at gmail dot com> --- Error is triggered on Linux (LFS-next testing) builds too, but only when configured as: ../configure --enable-bootstrap --disable-nls --disable-multilib Host compiler is GCC v12 few commits before the g:34ba4275dcf5162efb9b634e4665734766faf4e3 (already had this warning). Happens only during stage2 (and stage3) build, when executing: /tmp/build/./prev-gcc/xg++ -B/tmp/build/./prev-gcc/ [...] -fno-PIE -c -DIN_GCC_FRONTEND -g -O2 -fno-checking -gtoggle -DIN_GCC -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 -fno-common -DHAVE_CONFIG_H -I. [...] -o cp/error.o -MT cp/error.o -MMD -MP -MF cp/.deps/error.TPo /root/gcc_master/gcc/cp/error.cc