From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14125 invoked by alias); 24 Jan 2011 04:20:13 -0000 Received: (qmail 14116 invoked by uid 22791); 24 Jan 2011 04:20:12 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 24 Jan 2011 04:20:06 +0000 From: "regehr at cs dot utah.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/47428] New: ICE: tree check: expected ssa_name, have integer_cst in copy_phis_for_bb, at tree-inline.c:1986 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: regehr at cs dot utah.edu X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Mon, 24 Jan 2011 05:29:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2011-01/txt/msg02415.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47428 Summary: ICE: tree check: expected ssa_name, have integer_cst in copy_phis_for_bb, at tree-inline.c:1986 Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned@gcc.gnu.org ReportedBy: regehr@cs.utah.edu CC: chenyang@cs.utah.edu Host: x86_64-unknown-linux-gnu Target: x86_64-unknown-linux-gnu Build: x86_64-unknown-linux-gnu [regehr@gamow tmp444]$ current-gcc -c -O3 small.c small.c: In function 'foo': small.c:22:12: internal compiler error: tree check: expected ssa_name, have integer_cst in copy_phis_for_bb, at tree-inline.c:1986 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. [regehr@gamow tmp444]$ current-gcc -v Using built-in specs. COLLECT_GCC=current-gcc COLLECT_LTO_WRAPPER=/uusoc/exports/scratch/regehr/z/compiler-install/gcc-r169143-install/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.6.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: ../configure --with-libelf=/usr/local --enable-lto --prefix=/home/regehr/z/compiler-install/gcc-r169143-install --program-prefix=r169143- --enable-languages=c,c++ Thread model: posix gcc version 4.6.0 20110123 (experimental) (GCC) [regehr@gamow tmp444]$ cat small.c struct S2 { int f6; }; int g_65; struct S2 g_180; void func_121 (struct S2 p_122); int func_56 (int p_58, int p_59) { int i; for (i = 0; i < 1; i = 1) for (p_59 = 0; p_59 < 1; p_59 = 1); return p_59; } void foo (void) { func_106 (0); } int func_106 (const int p_107, int p_108) { if (func_56 (func_56 (0, p_107), 0)) return 0; else func_121 (g_180); return 0; } void func_121 (struct S2 p_122) { for (0; 1; 0) for (; p_122.f6;) g_65 = 0 ? : func_56 (0,0); }