This is the mail archive of the
mailing list for the GCC project.
Re: reload question about unmet constraints
- From: DJ Delorie <dj at redhat dot com>
- To: Jim Wilson <jim dot wilson at linaro dot org>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 1 Sep 2015 21:20:30 -0400
- Subject: Re: reload question about unmet constraints
- Authentication-results: sourceware.org; auth=none
- References: <201509010744 dot t817iv6A012061 at greed dot delorie dot com> <55E63993 dot 40700 at linaro dot org>
> It did match the first alternative (alternative 0), but it matched the
> constraints Y/Y/m.
It shouldn't match Y as those are for near addresses (unless it's only
matching MEM==MEM), and the ones in the insn are far, but ...
> Reload doesn't have any concept of two different kinds of memory
> operands which can't be converted via reloads. If the constraint
> accepts mem, and we have a mem operand, then it will always assume
> that the problem is with the address and reload it.
... this sounds like it could be a problem for me :-P