From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9176 invoked by alias); 13 Dec 2002 11:24:49 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 9157 invoked by uid 61); 13 Dec 2002 11:24:48 -0000 Date: Fri, 13 Dec 2002 03:24:00 -0000 Message-ID: <20021213112448.9156.qmail@sources.redhat.com> To: carlo@alinoe.com, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org From: reichelt@igpm.rwth-aachen.de Reply-To: reichelt@igpm.rwth-aachen.de, carlo@alinoe.com, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org Subject: Re: other/8919: ICE with (possibly invalid) extended asm. X-SW-Source: 2002-12/txt/msg00740.txt.bz2 List-Id: Old Synopsis: Internal Compiler Error with (possibly invalid) extended asm. New Synopsis: ICE with (possibly invalid) extended asm. State-Changed-From-To: open->analyzed State-Changed-By: reichelt State-Changed-When: Fri Dec 13 03:24:47 2002 State-Changed-Why: Confirmed. gcc 2.95.x and 3.0.x issue parse errors. The 3.2-branchs issues an ICE. Mainline compiles the code. (Well, that's not exactly true, since we get assembler errors, but they are not related to the problem. There's something wrong with the "movl (%[M_bitset_ptr],%[M_digit],4), %[tmp]\n\t" lines in the function find1.) A reduced testcase is the following: ------------------------------snip here---------------------------------- template struct A { int m; void foo() { int i; asm ( "testl %[m], %[m]" : [m] "=r" (m), [i] "=r" (i) : ); } }; void bar() { A<0> a; a.foo(); } ------------------------------snip here---------------------------------- http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8919