I'm trying to make gcc generate warnings for detecting unreachable code in a program using -Wunreachable-code. But it simply doesn't seem to work, even for a simple program such as: int main() { return 1; return 0; } I don't find -Wunreachable-code in man gcc, but it doesn't complain if I pass the option to it. I must be clearly missing something trivial here and would appreciate any help. I'm using gcc 4.5.2 and installed gcc-opt, if it matters. Thank you! -------- Vijayaraghavan Murali http://www.comp.nus.edu.sg/~mvijayar -- View this message in context: http://old.nabble.com/gcc--Wunreachable-code-option-tp31698329p31698329.html Sent from the gcc - Help mailing list archive at Nabble.com.