This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/85659] [6/7/8/9 Regression] ICE with inline assembly inside virtual function
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 06 May 2018 21:53:13 +0000
- Subject: [Bug c++/85659] [6/7/8/9 Regression] ICE with inline assembly inside virtual function
- Auto-submitted: auto-generated
- References: <bug-85659-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85659
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Sun May 6 21:52:25 2018
New Revision: 259982
URL: https://gcc.gnu.org/viewcvs?rev=259982&root=gcc&view=rev
Log:
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.
Added:
branches/gcc-8-branch/gcc/testsuite/g++.dg/ext/asm14.C
branches/gcc-8-branch/gcc/testsuite/g++.dg/ext/asm15.C
branches/gcc-8-branch/gcc/testsuite/g++.dg/ext/asm16.C
Modified:
branches/gcc-8-branch/gcc/ChangeLog
branches/gcc-8-branch/gcc/cfgexpand.c
branches/gcc-8-branch/gcc/testsuite/ChangeLog