From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8924 invoked by alias); 8 May 2007 12:20:18 -0000 Received: (qmail 8810 invoked by uid 48); 8 May 2007 12:20:00 -0000 Date: Tue, 08 May 2007 12:20:00 -0000 Subject: [Bug tree-optimization/31866] New: [4.3 Regression] ICE with tree check error: expected ssa_name, have var_decl in create_outofssa_var_map X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "kkojima at gcc dot gnu dot org" 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: 2007-05/txt/msg00585.txt.bz2 With -O1, the following testcase int foo (void) { return ({ unsigned int resultvar = ({ long int arg = (long int) 0; register long int reg asm ("eax") = arg; asm volatile ("nop" : "=a" (resultvar) : "0" (reg) :"memory"); (int) resultvar;}); (int) resultvar;}); } fails with an ICE: foo.c: In function 'foo': foo.c:3: internal compiler error: tree check: expected ssa_name, have var_decl in create_outofssa_var_map, at tree-ssa-coalesce.c:1051 -- Summary: [4.3 Regression] ICE with tree check error: expected ssa_name, have var_decl in create_outofssa_var_map Product: gcc Version: 4.3.0 Status: UNCONFIRMED Keywords: ice-checking Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: kkojima at gcc dot gnu dot org GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31866