[Bug c++/97284] internal compiler error: 'global_options' are modified in local context

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jan 12 13:04:45 GMT 2021


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

--- Comment #14 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:e91910d3576eeac714c93ec25ea3b15012007903

commit r11-6612-ge91910d3576eeac714c93ec25ea3b15012007903
Author: Martin Liska <mliska@suse.cz>
Date:   Tue Jan 12 13:20:18 2021 +0100

    options: properly compare string arguments

    Similarly to 7f967bd2a7ba156ede3fbb147e66dea5fb7137a6, we need to
    compare string with strcmp.

    gcc/ChangeLog:

            PR c++/97284
            * optc-save-gen.awk: Compare also n_target_save vars with
            strcmp.


More information about the Gcc-bugs mailing list