c/4384

Reichelt reichelt@igpm.rwth-aachen.de
Fri Sep 28 08:18:00 GMT 2001


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




More information about the Gcc-bugs mailing list