Zen5 tuning part 4: update reassocation width
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 960608-1.c
blobe20801d51a00c16a4c116eccd3fa7ec1cb0e3623
1 void abort (void);
2 void exit (int);
4 typedef struct
6 unsigned char a : 2;
7 unsigned char b : 3;
8 unsigned char c : 1;
9 unsigned char d : 1;
10 unsigned char e : 1;
11 } a_struct;
13 int
14 foo (flags)
15 a_struct *flags;
17 return (flags->c != 0
18 || flags->d != 1
19 || flags->e != 1
20 || flags->a != 2
21 || flags->b != 3);
24 int
25 main (void)
27 a_struct flags;
29 flags.c = 0;
30 flags.d = 1;
31 flags.e = 1;
32 flags.a = 2;
33 flags.b = 3;
35 if (foo (&flags) != 0)
36 abort ();
37 else
38 exit (0);