This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Recog/asm_operands problem with MIPS/gcc3.3
- From: Richard Henderson <rth at redhat dot com>
- To: gcc at gcc dot gnu dot org, echristo at redhat dot com
- Date: Wed, 7 Jan 2004 13:03:53 -0800
- Subject: Re: Recog/asm_operands problem with MIPS/gcc3.3
- References: <20040106233609.GA25597@nevyn.them.org>
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~