www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/07/06/19:13:27

To: Peter Crowley <pcrowley AT qdeck DOT com>
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 <darrylo AT hpnmxx DOT sr DOT hp DOT com>

> 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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019