This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/19127] -fno-omit-frame-pointer should have no effect on ia64


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]