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
* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
opt
/
pr71100.C
blob
ff739e2e62aa82967999fd4e8ec1205a722496d7
1
// PR c++/71100
2
// { dg-do compile }
3
// { dg-options "-O2" }
4
5
struct D { ~D (); };
6
struct E { D foo () { throw 1; } };
7
8
inline void
9
bar (D (E::*f) (), E *o)
10
{
11
(o->*f) ();
12
}
13
14
void
15
baz (E *o)
16
{
17
bar (&E::foo, o);
18
}