https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86840
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |wrong-code --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- Hmm, we have DECL_FUNCTION_PERSONALITY which is used for keying. I guess "late" processing of -fexceptions doesn't cause that to be "set". So likely the optimize attributes are not processed at the time the personality is set.