Dead Code Elimination for strings

Started by severach, February 25, 2008, 06:14:42 AM

Previous topic - Next topic

severach

if(0) printf("XYZZY");
The above code will place XYZZY in the executable. The dead code eliminator needs to eliminate the strings too.

JohnF

I would think that only a prepossessing directive would do you suggest.

John