Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/tree-ssa/pr93582-5.c @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
145:1830386684a0 | 152:2b5abeee2509 |
---|---|
1 /* PR tree-optimization/93582 */ | |
2 /* { dg-do compile { target int32 } } */ | |
3 /* { dg-options "-O2 -fdump-tree-fre1" } */ | |
4 /* { dg-final { scan-tree-dump "return -1462729318;" "fre1" { target le } } } */ | |
5 /* { dg-final { scan-tree-dump "return 1300568597;" "fre1" { target be } } } */ | |
6 | |
7 union U { | |
8 struct S { int a : 1, b : 7, c : 8, d : 11, e : 5; } s; | |
9 unsigned int i; | |
10 }; | |
11 struct A { char a[8]; union U u; }; | |
12 void bar (struct A *); | |
13 | |
14 int | |
15 foo (void) | |
16 { | |
17 struct A a; | |
18 bar (&a); | |
19 a.u.s.a = 0; | |
20 a.u.s.b = -51; | |
21 a.u.s.c = -123; | |
22 a.u.s.d = 208; | |
23 a.u.s.e = -11; | |
24 return a.u.i; | |
25 } |