[comp.std.c] if

henry@utzoo.uucp (Henry Spencer) (07/30/88)

In article <19730@cornell.UUCP> blandy@cs.cornell.edu (Jim Blandy) writes:
>An alternative to consider:  it's a simple task for a compiler to 
>recognize that the condition for an if ( ) statement is a constant,
>use this knowledge in guessing which statements are unreachable, and
>drop unreachable code...

This does not work for declarations, unfortunately.
-- 
MSDOS is not dead, it just     |     Henry Spencer at U of Toronto Zoology
smells that way.               | uunet!mnetor!utzoo!henry henry@zoo.toronto.edu