aboutsummaryrefslogtreecommitdiff
path: root/gcc/Makefile.in
diff options
context:
space:
mode:
authorIlya Leoshkevich <iii@linux.ibm.com>2020-11-24 22:47:11 +0100
committerIlya Leoshkevich <iii@linux.ibm.com>2020-11-30 11:50:30 +0100
commit4380d5ae721545f658d63f6df037afa5d7dc66a9 (patch)
treecb497a586d1fc8fce9a3e4464e59b0812c9649d3 /gcc/Makefile.in
parente855b30c28391b190eebb8e6afc8d2116a6d85de (diff)
downloadgcc-4380d5ae721545f658d63f6df037afa5d7dc66a9.zip
gcc-4380d5ae721545f658d63f6df037afa5d7dc66a9.tar.gz
gcc-4380d5ae721545f658d63f6df037afa5d7dc66a9.tar.bz2
rtl_dump_bb: fix segfault when reporting internal error
During ICE reporting, sometimes rtl_dump_bb is called on partially initialized basic blocks. This produces another ICE, obscuring the original problem. Fix by checking that that basic blocks are initialized before touching their bb_infos. gcc/ChangeLog: 2020-11-25 Ilya Leoshkevich <iii@linux.ibm.com> * cfgrtl.c (rtl_bb_info_initialized_p): New function. (rtl_dump_bb): Use rtl_bb_info_initialized_p before accessing bb insns.
Diffstat (limited to 'gcc/Makefile.in')
0 files changed, 0 insertions, 0 deletions