strlen() and constant folding

Bryan Christ bryan.christ@gmail.com
Tue Jun 30 01:49:00 GMT 2009


Is there some way to tell gcc to behave in a way that would be
analogous to constant folding when dealing with strlen() calls where
the target is const char* type?  If there is a macro or different
directive that would accomplish the same, that would be okay for my
purposes.

Thanks in advance.

-- 
Bryan
<><



More information about the Gcc-help mailing list