Use -fomit-frame-pointer when no debugging info is required

Daniel Berlin dberlin@cygnus.com
Thu Dec 28 11:55:00 GMT 2000


> PS. Shouldn't DWARF-2 allow debugging anyway even for such optimizations?

Yes, but we don't produce location *lists*, which we need to.
We also don't produce the CFA info on anything but mips, mainly to save 
space.
If someone does produce the dwarf2 info needed to represent the optimized 
code, it's easier for me to make a case to someone to support it, since 
it would be such a huge benefit.
--Dan


More information about the Gcc-patches mailing list