This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c/4384
- To: gcc-gnats at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, georg dot wild at gmx dot de
- Subject: Re: c/4384
- From: Reichelt <reichelt at igpm dot rwth-aachen dot de>
- Date: Fri, 28 Sep 2001 17:24:09 +0200
Hi,
the testcase can be reduced to the following:
int main()
{
long int i;
char c;
if (i)
__asm__ __volatile__ ("btl %1,%2 ; setcb %b0" : "=q" (c) : "r" (0), "m" (i) : "cc");
}
The code crashes gcc 3.1 20010925 with -O2 on an i686-pc-linux-gnu.
Greetings,
Volker Reichelt
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=4384&database=gcc