This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Internal Compiler Error in gen_rtx_SUBREG,at emit-rtl.c:776 in CR16
- From: Ian Lance Taylor <iant at google dot com>
- To: Sumanth Gundapaneni <Sumanth dot Gundapaneni at kpitcummins dot com>
- Cc: "gcc-help\ at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>, "rth\ at redhat dot com" <rth at redhat dot com>, "Jayant R. Sonar" <Jayant dot Sonar at kpitcummins dot com>
- Date: Tue, 01 Feb 2011 07:19:00 -0800
- Subject: Re: Internal Compiler Error in gen_rtx_SUBREG,at emit-rtl.c:776 in CR16
- References: <371569CBCFB2E745B891DBB88B2DFDDD19FA64F721@KCINPUNHJCMS01.kpit.com> <mcrlj20khji.fsf@google.com> <371569CBCFB2E745B891DBB88B2DFDDD19FA855F2B@KCINPUNHJCMS01.kpit.com>
Sumanth Gundapaneni <Sumanth.Gundapaneni@kpitcummins.com> 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