https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113341
--- Comment #10 from John Paul Adrian Glaubitz <glaubitz at physik dot fu-berlin.de> --- (In reply to Kewen Lin from comment #9) > Since it's a breakage during stage2, it's concluded that some built stage1 > stuffs behave unexpectedly. You probably can try to run regression testing > just with stage1 compiler to see if there is any regression exposed. > > If without any luck, then you probably have to isolate into one or several > object files, since you have "objects" for "good" and "bad" stage1 compiler, > you can be able to isolate some in between further. Once you get some > isolated, you can probably get some hints it's a bug in LLVM source or gcc. Thanks. This sounds like a good idea. I will try to identify the object files that differ. > It seems you are using gcc 13.2.1 as version field shows, you can also try > some previous versions like gcc 12 and gcc 11 to see if they work and it's > regressed. I have tried all GCC versions down to GCC 9 now but it still reproduces. Before testing your first suggestion, I will perform a test on SUSE Linux Enterprise 15 which ships with GCC 7 as the default C/C++ compiler.