This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, asmcons] Fix PR rtl-optimization/89313: ICE in process_alt_operands, at lra-constraints.c:2962
- From: Peter Bergner <bergner at linux dot ibm dot com>
- To: Jeff Law <law at redhat dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Segher Boessenkool <segher at kernel dot crashing dot org>, Alan Modra <amodra at gmail dot com>
- Date: Wed, 27 Mar 2019 12:02:46 -0500
- Subject: Re: [PATCH, asmcons] Fix PR rtl-optimization/89313: ICE in process_alt_operands, at lra-constraints.c:2962
- References: <9875286e-cc51-abed-626a-4b36717e52e3@linux.ibm.com> <1a0812f6-a748-2516-7f6d-071478e490b5@redhat.com>
On 3/25/19 3:36 PM, Jeff Law wrote:
> On 2/20/19 8:19 PM, Peter Bergner wrote:
>> gcc/
>> PR rtl-optimization/89313
>> * function.c (matching_constraint_num): New static function.
>> (match_asm_constraints_1): Use it. Fixup white space and comment.
>> Don't replace inputs with non-matching constraints which conflict
>> with early clobber outputs.
>>
>> gcc/testsuite/
>> PR rtl-optimization/89313
>> * gcc.dg/pr89313.c: New test.
> OK.
I did another round of bootstrap and regtesting, since I was on vacation
and trunk has changed. The testing was still clean, so it's committed now.
Thanks!
Peter