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.