annotate gcc/testsuite/gcc.c-torture/compile/pr36666.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 struct Foo {
kono
parents:
diff changeset
2 int *p;
kono
parents:
diff changeset
3 struct X {
kono
parents:
diff changeset
4 int a,b,c,d,e,*f;
kono
parents:
diff changeset
5 } x;
kono
parents:
diff changeset
6 } *init, *init2;
kono
parents:
diff changeset
7
kono
parents:
diff changeset
8 struct X __attribute__((const)) foo(struct X);
kono
parents:
diff changeset
9 struct Foo __attribute__((const)) foo2(struct Foo);
kono
parents:
diff changeset
10
kono
parents:
diff changeset
11 void bar1 (void)
kono
parents:
diff changeset
12 {
kono
parents:
diff changeset
13 init->x = foo (init2->x);
kono
parents:
diff changeset
14 }
kono
parents:
diff changeset
15 void bar2 (void)
kono
parents:
diff changeset
16 {
kono
parents:
diff changeset
17 init->x = foo (init->x);
kono
parents:
diff changeset
18 }
kono
parents:
diff changeset
19 void bar3 (void)
kono
parents:
diff changeset
20 {
kono
parents:
diff changeset
21 *init = foo2 (*init2);
kono
parents:
diff changeset
22 }