re PR c++/85659 (ICE with inline assembly inside virtual function)
authorJakub Jelinek <jakub@redhat.com>
Sun, 6 May 2018 21:14:35 +0000 (23:14 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sun, 6 May 2018 21:14:35 +0000 (23:14 +0200)
commitd5754d94e47e277a761715da3d3b93158cf179d9
tree35adf5c4a8fa97f31b1ab2760eff5ca61a459d81
parenta9856a8d08902b1c11a730217a97302a92965996
re PR c++/85659 (ICE with inline assembly inside virtual function)

PR c++/85659
* cfgexpand.c (expand_asm_stmt): Don't create a temporary if
the type is addressable.  Don't force op into register if it has
BLKmode.

* g++.dg/ext/asm14.C: New test.
* g++.dg/ext/asm15.C: New test.
* g++.dg/ext/asm16.C: New test.

From-SVN: r259981
gcc/ChangeLog
gcc/cfgexpand.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/asm14.C [new file with mode: 0644]
gcc/testsuite/g++.dg/ext/asm15.C [new file with mode: 0644]
gcc/testsuite/g++.dg/ext/asm16.C [new file with mode: 0644]