parent
9186280e24
commit
11f39bb852
|
@ -1,3 +1,7 @@
|
||||||
|
Sun Dec 6 00:40:12 1998 Richard Henderson <rth@cygnus.com>
|
||||||
|
|
||||||
|
* gcc.c-torture/execute/981206.c: New test.
|
||||||
|
|
||||||
1998-12-06 Alexandre Oliva <oliva@dcc.unicamp.br>
|
1998-12-06 Alexandre Oliva <oliva@dcc.unicamp.br>
|
||||||
|
|
||||||
* g++.old-deja/g++.ns/template7.C: New test.
|
* g++.old-deja/g++.ns/template7.C: New test.
|
||||||
|
|
|
@ -0,0 +1,17 @@
|
||||||
|
/* Verify unaligned address aliasing on Alpha EV[45]. */
|
||||||
|
|
||||||
|
static unsigned short x, y;
|
||||||
|
|
||||||
|
void foo()
|
||||||
|
{
|
||||||
|
x = 0x345;
|
||||||
|
y = 0x567;
|
||||||
|
}
|
||||||
|
|
||||||
|
int main()
|
||||||
|
{
|
||||||
|
foo ();
|
||||||
|
if (x != 0x345 || y != 0x567)
|
||||||
|
abort ();
|
||||||
|
exit (0);
|
||||||
|
}
|
Loading…
Reference in New Issue