OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* g++.dg/init/new1.C, g++.dg/template/alignof1.C,
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
20011217-1.c
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
}