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 type in the changelog entry,
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
ipa
/
pr65008.C
blob
29b3a2f161fe40cbbed9dba99c0225ea3eaf84ed
1
// PR ipa/65008
2
// { dg-do compile }
3
// { dg-options "-O2" }
4
5
struct A
6
{
7
A ();
8
virtual void foo () {}
9
};
10
11
static inline int __attribute__ ((always_inline)) call_foo (A *a)
12
{
13
a->foo ();
14
}
15
16
A::A ()
17
{
18
call_foo (this);
19
}