blob: 1f0e25fe58e2cc2182ee7e7b99cdcf70cffc0599 [file] [log] [blame]
/* PR debug/42767 */
/* { dg-do compile } */
/* { dg-options "-O1 -g" } */
struct lineno_cache_entry
{
unsigned long size;
};
_bfd_link_section_stabs (struct lineno_cache_entry * stabsec)
{
unsigned long count;
unsigned char *sym;
unsigned char *symend;
unsigned long skip;
count = stabsec->size / 12;
for (; sym < symend; sym += 1);
stabsec->size = (count - skip) * 12;
}