[Bug middle-end/86840] __attribute__((optimize("exceptions"))) is silently ignored

2018-08-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86840

Richard Biener  changed:

   What|Removed |Added

   Keywords||wrong-code

--- Comment #2 from Richard Biener  ---
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.

[Bug middle-end/86840] __attribute__((optimize("exceptions"))) is silently ignored

2018-08-05 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86840

Eric Gallager  changed:

   What|Removed |Added

 CC||egallager at gcc dot gnu.org

--- Comment #1 from Eric Gallager  ---
There are a number of bugs with __attribute__((optimize)); I can't quite recall
which of them exactly I was thinking this is a duplicate of, though...