Hacker News new | ask | show | jobs
by Eiwatah4 4490 days ago
Gcc doesn't have such a warning. Clang has it, but it has to be explicitly enabled. (It's not even in -Wall or -Wextra.)
1 comments

It appears that -Wunreachable-code was removed from gcc due to optimizer issues

http://gcc.gnu.org/ml/gcc-help/2011-05/msg00360.html