(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
pr45570.c
       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)
       5  {
       6    int quote_mode = 0;
       7    for (; *p; p++)
       8      {
       9        if (qm)
      10  	{
      11  	  if (quote_mode == 0 && *p == '"' && *(p - 1))
      12  	    {
      13  	      quote_mode = 1;
      14  	      continue;
      15  	    }
      16  	  if (quote_mode && *p == '"' && *(p - 1))
      17  	    quote_mode = 0;
      18  	}
      19        if (quote_mode == 0 && *p == c && *(p - 1))
      20  	break;
      21      }
      22  }
      23  
      24  void
      25  parser_get_next_parameter (char *p)
      26  {
      27    parser_get_next_char (':', 1, p);
      28  }