https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96734
Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Last reconfirmed| |2020-08-24 Status|UNCONFIRMED |WAITING --- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> --- (In reply to Ariadne Conill from comment #1) > Manually compiling cp/method.o using: > > g++ -c -o cp/method.o -O2 method.ii Can you please try it will all the original arguments: -march=mips3 -mtune=mips64 -mabi=64 -msoft-float -mllsc -mips3 -mno-shared -auxbase-strip cp/method.o -Os -Wextra -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-error=format-diag -Wsuggest-attribute=format -Woverloaded-virtual -Wpedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -version -fno-PIE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -fomit-frame-pointer > > works fine. > > I wonder if this is somehow related to pre-compiled headers, actually. If I see correctly, pre-compiled headers are not used in your case.