Article View: comp.std.c
Article #5251if(constant) instead of #if
From: Henry Spencer
Date: Fri, 29 Jul 1988 18:14
Date: Fri, 29 Jul 1988 18:14
10 lines
807 bytes
807 bytes
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
Technical Details
Message-ID:
<1988Jul29.181417.25418@utzoo.uucp>Path:
arc1-ca.pugleaf.net!utzoo!henryReferences:
<19730@cornell.UUCP>Show Full Headers
Complete Article Headers
Newsgroups: comp.std.c Path: arc1-ca.pugleaf.net!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