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

--- Comment #53 from David Binderman <dcb314 at hotmail dot com> ---
(In reply to Martin Liška from comment #52)
> >     2 | #pragma GCC pop_options
> >       |         ^~~
> > 0xe8f7c3 cl_optimization_compare(gcc_options*, gcc_options*)
> >     /home/dcb/gcc/working/gcc/options-save.c:13033
> > 0x9b0ebd handle_pragma_pop_options
> >     ../../trunk.git/gcc/c-family/c-pragma.c:1102
> 
> Thanks. Hm, still can't reproduce. Can please show me content at
> gcc/options-save.c:13033 and lines around it?

void
cl_optimization_compare (gcc_options *ptr1, gcc_options *ptr2)
{
  if (ptr1->x_help_flag != ptr2->x_help_flag)
    internal_error ("%<global_options%> are modified in local context");
  if (ptr1->x_no_sysroot_suffix != ptr2->x_no_sysroot_suffix)
    internal_error ("%<global_options%> are modified in local context");
  if (ptr1->x_param_align_loop_iterations !=
ptr2->x_param_align_loop_iterations)
    internal_error ("%<global_options%> are modified in local context");
  if (ptr1->x_param_align_threshold != ptr2->x_param_align_threshold)
    internal_error ("%<global_options%> are modified in local context");

Reply via email to