On July 24, 2017 3:54:05 PM GMT+02:00, Segher Boessenkool
wrote:
>Currently rtl_dump_bb crashes if BB_END(bb) is NULL, like it can be
>during expand (rtl_dump_bb can be called at any time, by the emergency
>dump added recently for example).
Ick.
>This fixes it.
OK.
Richard.
>
>Segher
>
>
>20
Currently rtl_dump_bb crashes if BB_END(bb) is NULL, like it can be
during expand (rtl_dump_bb can be called at any time, by the emergency
dump added recently for example).
This fixes it.
Segher
2017-07-24 Segher Boessenkool
* gcc/cfgrtl.c (rtl_dump_bb): Don't call NEXT_INSN on NUL