[Bug inline-asm/11203] source doesn't compile with -O0 but they compile with -O3

falk at debian dot org gcc-bugzilla@gcc.gnu.org
Fri Jan 21 13:55:00 GMT 2005


------- Additional Comments From falk at debian dot org  2005-01-21 13:55 -------
(In reply to comment #17)
> And IMHO this shoul be perfectly
> valid, since the operands to the asm construction are all marked as "m" (!!!),
> so no registers should be needed for that!

Huh? The memory operands are not at a compile time constant address, so of course
you need a register to hold them. Of course, you need only one register for
all of them, but you explicitely disallowed gcc to discover that by specifying
-O0.


-- 


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



More information about the Gcc-bugs mailing list