gcc 4.5.1 / as 2.20.51.0.11 miscompiling drivers/char/i8k.c ?
Andreas Schwab
schwab@redhat.com
Tue Nov 9 15:54:00 GMT 2010
Andi Kleen <andi@firstfloor.org> writes:
> @@ -142,7 +142,7 @@ static int i8k_smm(struct smm_regs *regs)
> "lahf\n\t"
> "shrl $8,%%eax\n\t"
> "andl $1,%%eax\n"
> - :"=a"(rc)
> + :"=a"(rc), "=m" (*regs)
I think this should be "+m".
Andreas.
--
Andreas Schwab, schwab@redhat.com
GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84 5EC7 45C6 250E 6F00 984E
"And now for something completely different."
More information about the Gcc
mailing list