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
Be careful about comdat boundary in ICF (PR ipa/82352).
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
opt
/
pr59622.C
blob
f62cf41242d72445317fbd8f76d2914f670a768a
1
// PR tree-optimization/59622
2
// { dg-do compile }
3
// { dg-options "-O2" }
4
5
namespace
6
{
7
struct A
8
{
9
virtual int foo (); // { dg-warning "used but never defined" }
10
int bar () { return foo (); }
11
};
12
}
13
14
int
15
baz ()
16
{
17
A a;
18
return a.bar ();
19
}