The option -fkeep-static-consts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

The option -fkeep-static-consts



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.