2 20121108-1.c from the execute part of the gcc torture suite.
11 #pragma disable_warning 196
12 #pragma disable_warning 84
13 #pragma disable_warning 85
17 char temp
[] = "192.168.190.160";
18 unsigned result
= (((((192u<<8)|168u)<<8)|190u)<<8)|160u;
20 int strtoul1(const char *a
, char **b
, int c
);
21 int strtoul1(const char *a
, char **b
, int c
)
30 else if (a
== temp
+12)
35 int string_to_ip(const char *s
);
36 int string_to_ip(const char *s
)
45 for (addr
=0, i
=0; i
<4; ++i
) {
46 int val
= s
? strtoul1(s
, &e
, 10) : 0;
58 testTortureExecute (void)
60 #if !defined( __SDCC_pdk14) && !defined(__SDCC_pdk15) // Lack of memory
61 int t
= string_to_ip (temp
);
63 printf ("%x\n", result
);
70 #if !defined(PORT_HOST)