(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
debug/
pr42767.c
       1  /* PR debug/42767 */
       2  /* { dg-do compile } */
       3  /* { dg-options "-O1 -g" } */
       4  
       5  struct lineno_cache_entry
       6  {
       7    unsigned long size;
       8  };
       9  int
      10  _bfd_link_section_stabs (struct lineno_cache_entry * stabsec)
      11  {
      12    unsigned long count;
      13    unsigned char *sym;
      14    unsigned char *symend;
      15    unsigned long skip;
      16    count = stabsec->size / 12;
      17    for (; sym < symend; sym += 1);
      18    stabsec->size = (count - skip) * 12;
      19  }