Newsgroups: comp.std.c
Path: utzoo!henry
From: henry@utzoo.uucp (Henry Spencer)
Subject: if(constant) instead of #if
Message-ID: <1988Jul29.181417.25418@utzoo.uucp>
Organization: U of Toronto Zoology
References: <19730@cornell.UUCP>
Date: Fri, 29 Jul 88 18:14:17 GMT

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
