https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115913
--- Comment #10 from Richard Biener <rguenth at gcc dot gnu.org> --- I think cl_optimization_compare should then not compare CL_WARNING options, in case #pragma GCC pop_options doesn't restore them.