This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/13591] loop unrolling creates incorrect code with inline asm
- From: "rsandifo at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Jan 2004 21:33:45 -0000
- Subject: [Bug c/13591] loop unrolling creates incorrect code with inline asm
- References: <20040106212520.13591.shay_gal-on@pmc-sierra.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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