OK, I will change that after I finished my current work. juzhe.zhong@rivai.ai From: Jeff Law Date: 2022-12-28 08:06 To: juzhe.zhong CC: gcc-patches@gcc.gnu.org; kito.cheng@gmail.com; palmer@dabbelt.com Subject: Re: [PATCH] RISC-V: Fix ICE of visiting non-existing block in CFG. On 12/27/22 16:11, juzhe.zhong wrote: > You mean only change to this form you suggested in this patch? Since in > all other places of this PASS,I use RTL_SSA framework to iterate > instructions and blocks. I use RTL_SSA framework to iterate blocks here > to make codes look more consistent even though they are same here. The FOR_EACH_BB is used far more widely than the C++ style found in RTL-SSA so I'd slightly prefer that style. jeff