https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92479
--- Comment #3 from tangyixuan <tangyixuan at mail dot dlut.edu.cn> --- (In reply to Andrew Pinski from comment #1) > The code for Wunreachable-code was removed a long time ago (around 5-10 > years ago). Thanks for your time, Andrew. I didn't notice that the -Wunreachable-code is ignored by GCC now. Maybe the other flag could do this.