[Bug middle-end/64339] reject unsafe options in pragma GCC optimize
egallager at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Sep 24 01:45:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64339
Eric Gallager <egallager at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |joseph at codesourcery dot com
--- Comment #2 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Eric Gallager from comment #1)
> (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.
...and cc-ing him.
More information about the Gcc-bugs
mailing list