http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50997
--- Comment #2 from Fredrik Hederstierna <fredrik.hederstie...@securitas-direct.com> 2011-11-07 07:33:19 UTC --- Ok, I didn't know that checks for unreachable-code was removed. Though I would like to know about the background/discussion behind this decision - do anyone have a link or reference to mailing-list conversation? Currently I'm looking into adding a static code analysis pass into GCC, and was thinking of running VRP pass also in -O0 by tweaking VRP and calling workers directly from static analysis pass. Then I was hoping the have GCC support for eg. unreachable code warnings. Now it seems I have to implement this by myself? Thanks!/Fredrik