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++.old-deja
/
g++.other
/
inline4.C
blob
b68c7c2c77aeeffb5ede1f2d6150f1bdcffc97b6
1
// { dg-do assemble }
2
// { dg-options "-O2" }
3
// Origin: Mark Mitchell <mark@codesourcery.com>
4
5
inline void f ()
6
{
7
return;
8
}
9
10
inline void g ();
11
12
void (*gp)() = &g;
13
14
inline void g ()
15
{
16
f ();
17
}
18
19
extern int array_size;
20
21
void h ()
22
{
23
int lookup_array[array_size];
24
g ();
25
}