[Bug middle-end/64339] reject unsafe options in pragma GCC optimize
egallager at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Sep 28 21:51:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64339
Eric Gallager <egallager at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2017-09-28
CC| |egallager at gcc dot gnu.org,
| |jsm28 at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Manuel López-Ibáñez from comment #0)
> Some options are known to be unsafe to set via pragma GCC optimize. See:
> https://sourceware.org/ml/libc-alpha/2014-12/msg00597.html and
> https://sourceware.org/ml/libc-alpha/2014-12/msg00599.html
>
> It would be better to add a flag to the *.opt files to mark safe options
> explicitly, such that specifying any option that is not safe produces a
> fatal error.
Taking Joseph's comments in the linked thread as confirmation.
More information about the Gcc-bugs
mailing list