repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix test-suite fallout of default -Wreturn-type.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
ipa
/
devirt-31.C
blob
7d12f79810cf31ab1810e270bf2320dd9366b869
1
// { dg-options "-O3 -fdump-tree-ssa" }
2
inline void t()
3
{
4
struct A {virtual void q() {}};
5
static struct A *a;
6
if (!a)
7
a = new(A);
8
a->q();
9
};
10
void
11
m()
12
{
13
t();
14
}
15
// { dg-final { scan-tree-dump-not "OBJ_TYPE_REF" "ssa" } }