PR inline-asm/84941
commit0b46d346e981dedbe4d9138fd041acdaeb4289cc
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 22 Mar 2018 12:31:46 +0000 (22 12:31 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 22 Mar 2018 12:31:46 +0000 (22 12:31 +0000)
tree83bdd9dd10f9471efd301496ee16442b4bd9ce58
parent5cc47d53ec1748912eb8b7bf6e5def72072ecbb0
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@258764 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/function.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr84941.c [new file with mode: 0644]