Re: [PATCH] rtl_dump_bb: fix segfault when reporting internal error

2020-11-29 Thread Jeff Law via Gcc-patches
On 11/26/20 12:24 PM, Ilya Leoshkevich via Gcc-patches wrote: > Bootstrapped and regtested on x86_64-redhat-linux and > s390x-redhat-linux. Ok for master? > > > > During ICE reporting, sometimes rtl_dump_bb is called on partially > initialized basic blocks. This produces another ICE, obscuring

[PATCH] rtl_dump_bb: fix segfault when reporting internal error

2020-11-26 Thread Ilya Leoshkevich via Gcc-patches
Bootstrapped and regtested on x86_64-redhat-linux and s390x-redhat-linux. Ok for master? 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 initializ