This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Recog/asm_operands problem with MIPS/gcc3.3


On Tue, Jan 06, 2004 at 06:36:10PM -0500, Daniel Jacobowitz wrote:
> But recog only validates that the inputs match.  Then we call
> check_asm_operands, which eventually calls constrain_operands because
> reload_completed is set.  constrain_operands sees the 'm' in the "=m"
> constraint, sees that this is indeed a mem, and allows it through.

This is the bug.  If strict > 0, then we should validate the address.
You'll see that this does happen for other constraints such as 'o'.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]