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
* Mainline merge as of 2006-02-16 (@111136).
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
20011217-1.c
blob
3e89ca04c192ea3eea9467f177c00af958ee2618
1
/* Test that the initializer of a compound literal is properly walked
2
when tree inlining. */
3
/* Origin: PR c/5105 from <aj@suse.de>. */
4
5
typedef
struct
{
long
p
; }
pt
;
6
7
inline
pt
f
(
pt _p
)
8
{
9
long
p
=
_p
.
p
;
10
11
return
(
pt
) { (
p
) };
12
}
13
14
static int
mmap_mem
(
void
)
15
{
16
pt p
;
17
p
=
f
(
p
);
18
19
return
0
;
20
}