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 22:00:06 -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 22:00 -------
I think you misunderstood my point about "m". If you want to load
the contents of the word at address p0, you must make p0 a pointer
to a word-sized object and pass "m" (*p0) as an input to the asm.
Please see the documentation on inline asms for details on this
sort of thing. Post to gcc-help if you're in any doubt.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13591