-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 02/01/11 08:19, Ian Lance Taylor wrote: > 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. Tip: Place the breakpoint after the assignment: INSN_UID (insn) = cur_insn_uid++; And you don't have to know the "cur_insn_uid" magic... b <line> if insn.u.fld[0].rt_int == <some #> Breakpoints on an insn's UID become second nature quickly if you do a lot of RTL debugging. jeff -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJNSCUxAAoJEBRtltQi2kC7HJ0H/3X671YfS5DYy8ZtXFLJYy01 XiSPJRBHvlNCkIkUmogd/SvxoOyiIuLuH6+D267j+ikIVo/f1O5zE3ExdZIdu6CX 63gArkDInqr2darDtmX8cytVupJ55fkgsMgzZui153QAaXP7O/PzW8z4iyzbjT+u GVaglb44+AbBz+NszWiExI8IVydub6C+G1OaqwQoQ5tYSvMxrxs7QJO6KmIzMgcG 0s0M7pRncq1HqydLGclLxbmdB7DzYkJmG81xJs5vbqypkjhTvGTYYXUvBblDwOy9 bhG7N0Bx1kOHF2woNSF0GyGGDWr8AD1z1myL38vwsnI6+ToZZAdCHsU68krifBU= =cpR1 -----END PGP SIGNATURE-----