Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/tree-ssa/pr93582-3.c @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | |
children |
rev | line source |
---|---|
152 | 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 1;" "fre1" { target be } } } */ | |
5 /* { dg-final { scan-tree-dump "return 2;" "fre1" { target le } } } */ | |
6 | |
7 union U { | |
8 struct S { int a : 1, b : 14, c : 17; } s; | |
9 struct T { int d : 10; int e : 4; int f : 18; } t; | |
10 }; | |
11 | |
12 int | |
13 foo (void) | |
14 { | |
15 union U u; | |
16 u.s.b = -7005; | |
17 return u.t.e; | |
18 } |