]> git.ipfire.org Git - thirdparty/gcc.git/commit
backport: re PR inline-asm/84941 (internal compiler error: in reg_overlap_mentioned_p...
authorJakub Jelinek <jakub@redhat.com>
Fri, 22 Jun 2018 20:56:25 +0000 (22:56 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 22 Jun 2018 20:56:25 +0000 (22:56 +0200)
commit5832c163cf8ab089d402aff3a371a96e9598b748
tree9c4fd4718d043f54850b62f8f5e2147d2f54a436
parentb6abb1374dfe2f789e9eb37c9089c275e99c1459
backport: re PR inline-asm/84941 (internal compiler error: in reg_overlap_mentioned_p, at rtlanal.c:1870 (reg_overlap_mentioned_p()/match_asm_constraints_1()))

Backported from mainline
2018-03-22  Jakub Jelinek  <jakub@redhat.com>

PR inline-asm/84941
* function.c (match_asm_constraints_1): Don't do the optimization
if input isn't a REG, SUBREG, MEM or constant.

* gcc.dg/pr84941.c: New test.

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