aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/pr110332-1.c
blob: 438993e8daf8fe731932f44f4127ba704be79f56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-do compile } */

struct s { int lie; };
struct s si7, si8;
unsigned u9, u6;
_Bool b3, b4;
unsigned transferValues(struct s *End) {
  unsigned RegIdx;
  unsigned *t = b4 ? &u6 : &u9;
  RegIdx = *t;
  *End = *(b3 ? &si7 : &si8);
  return RegIdx;
}