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 lto/70044] [5/6 Regression] -flto turns on -fomit-frame-pointer


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70044

--- Comment #2 from rguenther at suse dot de <rguenther at suse dot de> ---
On Thu, 3 Mar 2016, ktkachov at gcc dot gnu.org wrote:

> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70044
> 
> ktkachov at gcc dot gnu.org changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                  CC|                            |rguenth at gcc dot gnu.org
> 
> --- Comment #1 from ktkachov at gcc dot gnu.org ---
> Doesn't seem to happen on arm or x86_64.
> Who is responsible for recomputing the values of the optimisation options i.e.
> flag_omit_frame_pointer during LTO?

The backend is, LTO has the usual options langhooks and toplev calls
the corresponding target variants.

NOTE that -fomit-frame-pointer will appear in optimize attributes now
so setting/unsetting is expected to work.

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