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

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

https://gcc.gnu.org/g:dc6d15eaa23cbae1468a6ef92371b1c856c14819

commit r11-1141-gdc6d15eaa23cbae1468a6ef92371b1c856c14819
Author: Martin Liska <mli...@suse.cz>
Date:   Tue Dec 10 19:41:08 2019 +0100

    Add gcc_assert that &global_options are not dirty modified.

    gcc/ChangeLog:

    2020-03-20  Martin Liska  <mli...@suse.cz>

            PR tree-optimization/92860
            * optc-save-gen.awk: Generate new function cl_optimization_compare.
            * opth-gen.awk: Generate declaration of the function.

    gcc/c-family/ChangeLog:

    2020-03-20  Martin Liska  <mli...@suse.cz>

            PR tree-optimization/92860
            * c-attribs.c (handle_optimize_attribute):
            Save global options and compare it after parsing of function
            attribute.
            * c-pragma.c (opt_stack::saved_global_options): New field.
            (handle_pragma_push_options): Save global_options.
            (handle_pragma_pop_options): Compare them after pop.

Reply via email to