[Bug inline-asm/11203] source doesn't compile with -O0 but they compile with -O3
drab at kepler dot fjfi dot cvut dot cz
gcc-bugzilla@gcc.gnu.org
Fri Jan 21 12:39:00 GMT 2005
------- Additional Comments From drab at kepler dot fjfi dot cvut dot cz 2005-01-21 12:39 -------
(In reply to comment #15)
> I will note for the record that disabling local-alloc will resolve
> this problem. A patch for that is in the audit trail of another bug,
> for unrelated reasons: http://gcc.gnu.org/PR13776. It also happens
> to fix the particular problem in this bug report.
I didn't test the source proposed in this bugreport, but the patch mentioned
above (disabling of local-alloc) DOES NOT resolve the problem with the testcode
proposed in bugreport http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19549, and,
though, it also doesn't fix the problem of compiling ffmpegs
libavcodec/i386/dsputil_mmx.c, because that is the original, from which the
testcode was extracted/simplified. So, either it is not the same bug (as marked
by Andrew) or the problem was not resolved. 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! They are just memory operands!! And
so I think this bug (or at least
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19549) should NOT be marked as resolved.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11203
More information about the Gcc-bugs
mailing list