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 };
_bfd_link_section_stabs(struct lineno_cache_entry * stabsec)9 _bfd_link_section_stabs (struct lineno_cache_entry * stabsec)
10 {
11   unsigned long count;
12   unsigned char *sym;
13   unsigned char *symend;
14   unsigned long skip;
15   count = stabsec->size / 12;
16   for (; sym < symend; sym += 1);
17   stabsec->size = (count - skip) * 12;
18 }
19