Sumanth Gundapaneni <Sumanth.Gundapaneni@xxxxxxxxxxxxxxx> writes: > If I compile the test case with "-O2 -fno-inline", there was no ICE related > to subreg. Is "cse_local" phase related to -finline optimization. Any RTL that can be created by inlining can also be created in other ways, so don't wory about inlining. You need to find out specifically what is creating that insn. I usually find it easiest to set a breakpoint on make_insn_raw with a breakpoint on cur_insn_uid (which is a macro, so you have to use the real expression) to find when the insn with a specific UID was created. Ian