summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr20203.c
blob: 1fb2a045d55a59a8ba8448a8212838f497cba94c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
void *memset (void *, int, unsigned long);

typedef struct bfd_section
{
  unsigned long size;
  unsigned char *contents;
} asection;

int
_bfd_mips_elf_finish_dynamic_sections (asection *s)
{
  long long dummy_offset;
  dummy_offset = s->size - 16;
  memset (s->contents + dummy_offset, 0, 16);
  return 1;
}