https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106419
--- Comment #3 from Kewen Lin <linkw at gcc dot gnu.org> --- (In reply to Arseny Solokha from comment #2) > I don't set --enable-default-pie anymore when configuring gcc, so here's the > difference. Therefore, it stops ICEing if I add -fPIE or -fPIC when > compiling the testcase. Conversely, could you please try adding -fno-PIE? Thanks for the reply. Sigh, I am still unable to reproduce it. I tried to add extra option "-fno-PIE", "-fno-PIE -fno-PIC", "-fno-pie -fno-pic", it still passed. Same behaviors even if I removed the "--enable-default-pie" from config, or explicitly added the "--disable-default-pie" into config.