Hide Forgot
+++ This bug was initially created as a clone of Bug #1017704 +++ __attribute__((noinline, noclone)) int foo (int a, int b) { if (a) return -3; asm volatile goto ("bts $1, %0; jc %l[lab]" : : "m" (b) : "memory" : lab); return 0; lab: return 0; } int main () { if (foo (1, 0) != -3 || foo (0, 3) != 0 || foo (0, 0) != 0) __builtin_abort (); return 0; } is miscompiled. Jakub has a fix.
Fixed in devtoolset-2-gcc-4.8.2-1.el6.
Verified for devtoolset-2-gcc-4.8.2-1.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2014-0272.html