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
PR middle-end/51761
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
pr44946.c
1
struct A
2
{
3
int i;
4
long l;
5
};
6
7
struct B
8
{
9
int i;
10
};
11
12
struct C
13
{
14
int i;
15
struct B b;
16
};
17
18
struct B foo (struct A a)
19
{
20
struct C *c = (struct C *) &a;
21
return c->b;
22
}
23
void bar (struct A a, struct B b)
24
{
25
struct C *c = (struct C *) &a;
26
c->b = b;
27
}