The option -fkeep-static-consts

DMS Tech, John john at dms-tech.com
Thu Jan 4 10:26:53 UTC 2007


I am using the G++ 4.1-32 version. I have some static constants in my
code and whenever I use a optimization option (-O1, ..) these static
constants disappear from my compiled output file. The flag
'-fkeep-static-consts' does not seem to have any effect in any of the
optimization modes. Before I was using an older version and in that
version this flag worked correctly. Is this a bug or am I overlooking
something?

 

John.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sourcerytools.com/pipermail/coldfire-gnu-discuss/attachments/20070104/6efdb9a6/attachment.html>


More information about the coldfire-gnu-discuss mailing list