OpenCores
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] - Blame information for rev 801

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
typedef struct {
2
} mem_attrs;
3
int main(void)
4
{
5
  return 0;
6
}
7
void *malloc(__SIZE_TYPE__ size);
8
void *memcpy(void *dest, const void *src, __SIZE_TYPE__ n);
9
static mem_attrs * get_mem_attrs () {
10
  void **slot;
11
  *slot = malloc (3);
12
  memcpy (*slot, 0, 3);
13
}
14
void set_mem_attributes () {
15
  get_mem_attrs ();
16
}
17
void set_mem_alias_set () {
18
  get_mem_attrs ();
19
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.