Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
ipa
/
devirt-31.C
blob: 7d12f79810cf31ab1810e270bf2320dd9366b869 [
file
] [
log
] [
blame
]
// { dg-options "-O3 -fdump-tree-ssa" }
inline
void
t
()
{
struct
A
{
virtual
void
q
()
{}};
static
struct
A
*
a
;
if
(!
a
)
a
=
new
(
A
);
a
->
q
();
};
void
m
()
{
t
();
}
// { dg-final { scan-tree-dump-not "OBJ_TYPE_REF" "ssa" } }