re PR rtl-optimization/89313 (ICE in process_alt_operands, at lra-constraints.c:2962)
authorPeter Bergner <bergner@linux.ibm.com>
Wed, 27 Mar 2019 16:59:15 +0000 (16:59 +0000)
committerPeter Bergner <bergner@gcc.gnu.org>
Wed, 27 Mar 2019 16:59:15 +0000 (11:59 -0500)
commit6732373ed28e80cd410f8167c9962910effd12eb
tree2d46c09de4ac3186738336859dda3ab67f5ab6d4
parent52295c2de4adcd0f5a6ee9b5a4f57cd156182cf0
re PR rtl-optimization/89313 (ICE in process_alt_operands, at lra-constraints.c:2962)

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.

From-SVN: r269969
gcc/ChangeLog
gcc/function.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr89313.c [new file with mode: 0644]