1 /*
2    pr43438.c from the execute part of the gcc torture tests.
3  */
4 
5 #include <testfwk.h>
6 
7 #ifdef __SDCC
8 #pragma std_c99
9 #endif
10 
11 static unsigned char g_2 = 1;
12 static int g_9;
13 static int *l_8 = &g_9;
14 
func_12(int p_13)15 static void func_12(int p_13)
16 {
17   int * l_17 = &g_9;
18   *l_17 &= 0 < p_13;
19 }
20 
21 void
testTortureExecute(void)22 testTortureExecute (void)
23 {
24 #if !(defined (__GNUC__) && defined (__GNUC_MINOR__) && (__GNUC__ < 5 && __GNUC_MINOR__ < 4))
25   unsigned char l_11 = 254;
26   *l_8 |= g_2;
27   l_11 |= *l_8;
28   func_12(l_11);
29   if (g_9 != 1)
30     ASSERT (0);
31   return;
32 #endif
33 }
34 
35