[Bug inline-asm/71086] miscompiled inline-asm + alternative constraints + __builtin_expect + always_inline
mikpelinux at gmail dot com
gcc-bugzilla@gcc.gnu.org
Sun May 29 20:33:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71086
Mikael Pettersson <mikpelinux at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mikpelinux at gmail dot com
--- Comment #1 from Mikael Pettersson <mikpelinux at gmail dot com> ---
Created attachment 38593
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38593&action=edit
standalone test case
Standalone test case in C. Compile with -O1 on x86_64. Wrong-code reproduces
with gcc-4.9.3 and 4.8.5, but not with 4.7.4, 5.3, 6.1, or trunk.
I'm assuming the inline asm (from the original report) is correct...
More information about the Gcc-bugs
mailing list