[Bug c/27308] Compiler generates incorrect code when calling a function with the result of an inline function as parameter
rguenth at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Apr 25 15:45:00 GMT 2006
------- Comment #5 from rguenth at gcc dot gnu dot org 2006-04-25 15:45 -------
__res should be allocated to the same register as __r0 due to the '0'
constraint which tells gcc to use the same register as for "=r" (__res).
Whoops - I obviously meant to remove the __asm__("r0") from the __r0
variable... But maybe it works vice-versa, too.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27308
More information about the Gcc-bugs
mailing list