[Bug c/13591] loop unrolling creates incorrect code with inline asm

rsandifo at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Jan 6 21:33:00 GMT 2004


------- Additional Comments From rsandifo at gcc dot gnu dot org  2004-01-06 21:33 -------
Not a bug.  If an asm wants to load from memory, it needs to use
an input with an "m" constraint.

It also looks like there's a typo in the asm statement.  The target
of the final add is $4, which hasn't any special significance here.
I assume it's supposed to be %4 instead,  but that's not well-formed
either (%4 is an input only).


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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



More information about the Gcc-bugs mailing list