]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR rtl-optimization/84682 (internal compiler error: Segmentation fault (process_ad...
authorAlexandre Oliva <aoliva@redhat.com>
Fri, 9 Mar 2018 18:50:56 +0000 (18:50 +0000)
committerJeff Law <law@gcc.gnu.org>
Fri, 9 Mar 2018 18:50:56 +0000 (11:50 -0700)
commit998fd1413977a70cfeb7bf9180f3b462a7731237
tree12fc5f25e3d71e6b873da993f69004f09ea99260
parent300e61fa150ce9fa7bc86784aaa6baeffd174c2f
re PR rtl-optimization/84682 (internal compiler error: Segmentation fault (process_address_1))

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.

From-SVN: r258393
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]