https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80715
--- Comment #4 from Vittorio Zecca <zeccav at gmail dot com> --- I see the ICE on trunk 247930. To reproduce it you need ira_assert working, definining ENABLE_IRA_CHECKING implied by CHECKING_P, best way to make it happen is configuring gcc with --enable-checking=yes option. Have the following lines: ira_assert(cost_classes_ptr);/*!vz my addition pr60268.c -O2 -flive-range-shrinkage*/ enum reg_class *cost_classes = cost_classes_ptr->classes; and compile with both options -O2 -flive-range-shrinkage