https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115913
--- Comment #8 from Lewis Hyatt ---
I think they are for different things, push_options/pop_options is for saving
and restoring the command line flags that get implied from switching
optimization levels or target pragmas, while diagnostic pragma
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115913
--- Comment #7 from Andrew Pinski ---
The bigger question should `GCC pop_options` also pop the diagnostic option
changes too? or is that only done with `GCC diagnostic pop`.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115913
Lewis Hyatt changed:
What|Removed |Added
CC||lhyatt at gcc dot gnu.org,