Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/lto/20090218-2_1.c @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +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 (); }