1 /* 2 pr65170.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 /* PR tree-optimization/65170 */ 12 13 typedef unsigned long long int V; 14 typedef unsigned int H; 15 16 #ifndef __SDCC_pdk14 // Lack of memory 17 void foo(V b,V c)18foo (V b, V c) 19 { 20 V a; 21 b &= (H) -1; 22 c &= (H) -1; 23 a = b * c; 24 if (a != 1) 25 ASSERT (0); 26 } 27 #endif 28 29 void testTortureExecute(void)30testTortureExecute (void) 31 { 32 #ifndef __SDCC_pdk14 // Lack of memory 33 foo (1, 1); 34 return; 35 #endif 36 } 37 38