Daily bump.
[official-gcc.git] / gcc / testsuite / gcc.dg / pr45570.c
blob8a25951fcb32a48c45ebff9bb8ec504470ae32f0
1 /* { dg-do compile { target powerpc*-*-* ia64-*-* i?86-*-* x86_64-*-* } } */
2 /* { dg-options "-O3 -fselective-scheduling2 -fsel-sched-pipelining -fsel-sched-pipelining-outer-loops -ftracer" } */
3 void
4 parser_get_next_char (char c, int qm, char *p)
6 int quote_mode = 0;
7 for (; *p; p++)
9 if (qm)
11 if (quote_mode == 0 && *p == '"' && *(p - 1))
13 quote_mode = 1;
14 continue;
16 if (quote_mode && *p == '"' && *(p - 1))
17 quote_mode = 0;
19 if (quote_mode == 0 && *p == c && *(p - 1))
20 break;
24 void
25 parser_get_next_parameter (char *p)
27 parser_get_next_char (':', 1, p);