re PR inline-asm/85034 (-O1 internal compiler error: in elimination_costs_in_insn...
authorJakub Jelinek <jakub@redhat.com>
Fri, 23 Mar 2018 09:10:02 +0000 (10:10 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 23 Mar 2018 09:10:02 +0000 (10:10 +0100)
commitb3d8938043f400cb462600c3f5fb7d346c45caea
tree87a36277bfe60adbaba670aa6d98cea3143ac6fb
parent6f5799be393e835b4cce70d070ae30039fdf38a7
re PR inline-asm/85034 (-O1 internal compiler error: in elimination_costs_in_insn, at reload1.c:3633)

PR inline-asm/85034
* function.c (match_asm_constraints_1): Don't optimize if input
doesn't satisfy general_operand predicate for output's mode.

* gcc.target/i386/pr85034.c: New test.

From-SVN: r258796
gcc/ChangeLog
gcc/function.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr85034.c [new file with mode: 0644]