[Bug c/23422] Sign extension removed even when inline assembly uses variable
--- Additional Comments From anton at samba dot org 2005-08-17 01:04 --- Thanks, after applying the suggested fix the kernel works. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23422
[Bug c/23422] Sign extension removed even when inline assembly uses variable
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-16 14:16 --- This is not a bug. The code you gave is equivalant to as that is what inlining does (3.4 had a bug in that it had an extra overhead as you noticed, which you thought was a feature): #define BUG_ON(x) asm v