view gcc/testsuite/gcc.dg/lto/20090218-2_1.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
line wrap: on
line source

/* { dg-options { -fgnu89-inline } } */
typedef struct {
} mem_attrs;
int main(void)
{
  return 0;
}
void *malloc(__SIZE_TYPE__ size);
void *memcpy(void *dest, const void *src, __SIZE_TYPE__ n);
static mem_attrs * get_mem_attrs () {
  void **slot;
  *slot = malloc (3);
  memcpy (*slot, 0, 3);
}
void set_mem_attributes () {
  get_mem_attrs ();
}
void set_mem_alias_set () {
  get_mem_attrs ();
}