diff options
author | Segher Boessenkool <segher@kernel.crashing.org> | 2017-07-24 21:47:15 +0200 |
---|---|---|
committer | Segher Boessenkool <segher@gcc.gnu.org> | 2017-07-24 21:47:15 +0200 |
commit | 9fcaf0599124d58dbc96fec1f975fa142a8519cf (patch) | |
tree | 37d16339c1aa6c156c66f5de8ebeec600674ad83 /gcc/config/avr/avr-log.c | |
parent | d47d34bb22f756731475ea700d165f4d855d712f (diff) | |
download | gcc-9fcaf0599124d58dbc96fec1f975fa142a8519cf.zip gcc-9fcaf0599124d58dbc96fec1f975fa142a8519cf.tar.gz gcc-9fcaf0599124d58dbc96fec1f975fa142a8519cf.tar.bz2 |
cfgrtl: Don't crash in rtl_dump_bb if BB_END(bb) is NULL
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.
* cfgrtl.c (rtl_dump_bb): Don't call NEXT_INSN on NULL.
From-SVN: r250480
Diffstat (limited to 'gcc/config/avr/avr-log.c')
0 files changed, 0 insertions, 0 deletions