URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [lto/] [20090218-2_1.c] - Rev 774
Go to most recent revision | Compare with Previous | Blame | View Log
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 (); }
Go to most recent revision | Compare with Previous | Blame | View Log