re PR inline-asm/67448 (compiler crash#inline assembly#rvalue operand with constraint...
authorMarek Polacek <polacek@redhat.com>
Mon, 7 Sep 2015 09:19:13 +0000 (09:19 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Mon, 7 Sep 2015 09:19:13 +0000 (09:19 +0000)
commit8f1e28e0ff4a93f1416f62c6f82ed62174a02e7d
treea0d4d055dc71292901ea556ac5ab23acc66e16e7
parent85bc8baac9a16ba74116be18b577b840fcaa499d
re PR inline-asm/67448 (compiler crash#inline assembly#rvalue operand with constraint "m")

PR inline-asm/67448
* gimplify.c (gimplify_asm_expr): Don't allow MODIFY_EXPR as
a memory input.

* gcc.dg/asm-10.c: New test.

From-SVN: r227517
gcc/ChangeLog
gcc/gimplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/asm-10.c [new file with mode: 0644]