OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [981206-1.c] - Blame information for rev 715

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

Line No. Rev Author Line
1 688 jeremybenn
/* Verify unaligned address aliasing on Alpha EV[45].  */
2
 
3
static unsigned short x, y;
4
 
5
void foo()
6
{
7
  x = 0x345;
8
  y = 0x567;
9
}
10
 
11
int main()
12
{
13
  foo ();
14
  if (x != 0x345 || y != 0x567)
15
    abort ();
16
  exit (0);
17
}

powered by: WebSVN 2.1.0

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