[Bug rtl-optimization/80715] NULL pointer dereferenced in find_costs_and_classes, at ira-costs.c
zeccav at gmail dot com
gcc-bugzilla@gcc.gnu.org
Fri May 12 16:07:00 GMT 2017
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
More information about the Gcc-bugs
mailing list