From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1991 invoked by alias); 1 Feb 2011 15:22:38 -0000 Received: (qmail 1972 invoked by uid 22791); 1 Feb 2011 15:22:36 -0000 X-SWARE-Spam-Status: No, hits=-6.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 01 Feb 2011 15:22:30 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id p11FMSr9006955 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 1 Feb 2011 10:22:28 -0500 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p11FMSHj018953; Tue, 1 Feb 2011 10:22:28 -0500 Received: from [10.3.113.25] (ovpn-113-25.phx2.redhat.com [10.3.113.25]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id p11FMQPL007777; Tue, 1 Feb 2011 10:22:26 -0500 Message-ID: <4D482532.5000103@redhat.com> Date: Tue, 01 Feb 2011 15:22:00 -0000 From: Jeff Law User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Thunderbird/3.1.7 MIME-Version: 1.0 To: Ian Lance Taylor CC: Sumanth Gundapaneni , "gcc-help@gcc.gnu.org" , "rth@redhat.com" , "Jayant R. Sonar" Subject: Re: Internal Compiler Error in gen_rtx_SUBREG,at emit-rtl.c:776 in CR16 References: <371569CBCFB2E745B891DBB88B2DFDDD19FA64F721@KCINPUNHJCMS01.kpit.com> <371569CBCFB2E745B891DBB88B2DFDDD19FA855F2B@KCINPUNHJCMS01.kpit.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2011-02/txt/msg00011.txt.bz2 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 02/01/11 08:19, Ian Lance Taylor wrote: > Sumanth Gundapaneni 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 if insn.u.fld[0].rt_int == 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-----