PR rtl-optimization/84682
commitafca8a733107320ec9c8be848ba0b4825dcdf780
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 9 Mar 2018 18:50:56 +0000 (9 18:50 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 9 Mar 2018 18:50:56 +0000 (9 18:50 +0000)
tree12fc5f25e3d71e6b873da993f69004f09ea99260
parent107dc7fcbedb8b21853be84c1b07957184963f5a
PR rtl-optimization/84682
* lra-constraints.c (process_address_1): Check is_address flag
for address constraints.
(process_alt_operands): Likewise.
* lra.c (lra_set_insn_recog_data): Pass asm operand locs to
preprocess_constraints.
* recog.h (preprocess_constraints): Add oploc parameter.
Adjust callers.

PR rtl-optimization/84682
* gcc.dg/torture/pr84682-1.c: New.
* gcc.dg/torture/pr84682-2.c: New.
* gcc.dg/torture/pr84682-3.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@258393 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/lra-constraints.c
gcc/lra.c
gcc/recog.c
gcc/recog.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr84682-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/torture/pr84682-2.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/torture/pr84682-3.c [new file with mode: 0644]