[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 12:49:00 GMT 2006



------- Comment #2 from rguenth at gcc dot gnu dot org  2006-04-25 12:49 -------
This is probably a problem with the inline asm constraints.  Try removing the
__asm__("r0") from the __res variable.  Also try simplifying the testcase by
storing the result of BIOS_ContainerUsage(1) to memory rather than calling
printf.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27308



More information about the Gcc-bugs mailing list