Clang error

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Clang error

Gonsolo
I added a reduced testcase in bug 6475.

int main()
{
        int i;

        // Compiled by gcc and clang
        //__asm__ ( "nop": "=r"( i )  );

        // Compiled by gcc but clang fails due to signal 11
        __asm__ ( "nop": "=m"( i )  );

        return 0;
}


Regards,

g
_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev