https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99592
Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |ASSIGNED

--- Comment #7 from Martin Liška <marxin at gcc dot gnu.org> ---
All right, I can reproduce it:

$ cat pr99592.c
#pragma GCC push_options
#pragma GCC target ""
#pragma GCC pop_options

$ ./xgcc -B. pr99592.c -c -p -O2
pr99592.c:3:9: internal compiler error: ‘global_options’ are modified in local
context
    3 | #pragma GCC pop_options
      |         ^~~

happens due to:

(gdb) p ptr1->x_flag_ipa_ra
$1 = 0
(gdb) p ptr2->x_flag_ipa_ra
$2 = 1

Reply via email to