This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: c/4384


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]