To: Peter Crowley Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: How do you eliminate dead code? Date: Tue, 06 Jul 1993 15:47:50 -0700 From: Darryl Okahata > I am compiling this with -O2 -m486. Does anyone know if there is a switch > to eliminate the inaccessable code? How about the obvious: ------------------------------------------------------------------------------- #define TRACE 0 #if TRACE fprintf(stderr, ...); #endif ------------------------------------------------------------------------------- -- Darryl Okahata Internet: darrylo AT sr DOT hp DOT com DISCLAIMER: this message is the author's personal opinion and does not constitute the support, opinion or policy of Hewlett-Packard or of the little green men that have been following him all day.