https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100759
--- Comment #3 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:b195d84561a5c31108c7bbbd7c5b63fe3cebe35f commit r12-1142-gb195d84561a5c31108c7bbbd7c5b63fe3cebe35f Author: Martin Liska <mli...@suse.cz> Date: Tue Jun 1 10:41:04 2021 +0200 Fix sanity checking of global_options. gcc/c-family/ChangeLog: PR other/100759 * c-attribs.c (handle_optimize_attribute): Limit sanity check to a situation where we are not in processing of an optimize pragma. * c-pragma.c (handle_pragma_pop_options): Restore target options.