------- Additional Comments From pinskia at gcc dot gnu dot org  2004-12-22 
05:25 -------
Actually -fno-omit-frame-pointer is used for other reasons.  Also there is no 
reason for -fno-omit-
frame-pointer on x86 now with variable tracking code. -fno-omit-frame-pointer 
comes into play for 
other reasons which are not documented, I cannot remember them.

Also frame pointers are used sometimes even with -fomit-frame-pointer due to 
nested functions.

Also there are also other targets which are the same situation as ia64 and this 
has not changed for 
them yet (eg PPC), in fact PPC support has been in GCC before the EGCS spilt so 
I assume this has been 
discussed before and there is no benefit from disabling this flag on those 
targets.

I think some people's code depends on there being a frame pointer and changing 
this to a target 
dependent flag would be a problem because their code runs on more than one 
target.

I am just going to close this as invalid as there is no reason why someone 
should be using this flag 
anyways unless they need the frame pointer in general.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |WONTFIX


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19127

Reply via email to