Inlining bug on MIPS - both 2.95.3 and 3.0 branches
Fri Mar 9 20:46:00 GMT 2001
On Fri, Mar 09, 2001 at 08:41:08PM -0800, Geoff Keating wrote:
> If an asm statement specifies "ir", it will get an immediate or a register
> depending on the whim of the compiler.
> I expect that what happened is that the asm statement had a register
> for that argument, reload saw that the constraint matched, and
> so no further processing was done. If the constraint was "i",
> reload would see that the constraint did not match and continue
> processing, and one of the things it'd try is to replace the register
> with its constant value.
Right. Is there any way to define an inline asm in an inline function
with an "i" constraint for an argument of the function, though? I get
(obviously) constraint violation errors. I'm assuming this needs to
become a macro.
Daniel Jacobowitz Debian GNU/Linux Developer
Monta Vista Software Debian Security Team
"I am croutons!"
More information about the Gcc-bugs