[Bug c++/85659] [6/7/8/9 Regression] ICE with inline assembly inside virtual function
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat May 5 11:32:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85659
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2018-05-05
CC| |jakub at gcc dot gnu.org
Target Milestone|--- |6.5
Summary|ICE with inline assembly |[6/7/8/9 Regression] ICE
|inside virtual function |with inline assembly inside
| |virtual function
Ever confirmed|0 |1
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Started with r232167, before it likely just emitted wrong code.
Short testcase:
struct S { S (); ~S (); int s; };
void
foo (S &s)
{
asm volatile ("" : "+m,r" (s) : : "memory");
}
ICEs even with "+g" instead of "+m,r".
More information about the Gcc-bugs
mailing list