PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 20030715-1.c
bloba2a28ce962c87a215d7c54bc6acb7cb3e13d503c
1 /* PR optimization/11320 */
2 /* Origin: Andreas Schwab <schwab@suse.de> */
4 /* Verify that the scheduler correctly computes the dependencies
5 in the presence of conditional instructions. */
7 int strcmp (const char *, const char *);
8 int ap_standalone;
10 const char *ap_check_cmd_context (void *a, int b)
12 return 0;
15 const char *server_type (void *a, void *b, char *arg)
17 const char *err = ap_check_cmd_context (a, 0x01|0x02|0x04|0x08|0x10);
18 if (err)
19 return err;
21 if (!strcmp (arg, "inetd"))
22 ap_standalone = 0;
23 else if (!strcmp (arg, "standalone"))
24 ap_standalone = 1;
25 else
26 return "ServerType must be either 'inetd' or 'standalone'";
28 return 0;
31 int main ()
33 server_type (0, 0, "standalone");
34 return 0;