https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98636
--- Comment #9 from Martin Liška <marxin at gcc dot gnu.org> --- All right. @Prathamesh: Can you run that in debugger and show what option foo is causing the internal_error: void cl_optimization_compare (gcc_options *ptr1, gcc_options *ptr2) { ... if (ptr1->x_foo != ptr2->x_help_foo) internal_error ("%<global_options%> are modified in local context");