[Bug target/103804] ICE: 'global_options' are modified in local context

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jan 12 11:53:02 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103804

--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Martin Liska <marxin@gcc.gnu.org>:

https://gcc.gnu.org/g:4960516df2f90e6ae16aa03c63c8bf2c702e6bc4

commit r12-6519-g4960516df2f90e6ae16aa03c63c8bf2c702e6bc4
Author: Martin Liska <mliska@suse.cz>
Date:   Wed Jan 12 12:48:33 2022 +0100

    opts: do not do sanity check when an error is seen

            PR target/103804

    gcc/c-family/ChangeLog:

            * c-attribs.c (handle_optimize_attribute): Do not call
            cl_optimization_compare if we seen an error.


More information about the Gcc-bugs mailing list