Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
To: axp-list@redhat.com
Cc: Richard Henderson <rth@cygnus.com>,
	linux-alpha mailing list <linux-alpha@vger.rutgers.edu>
Subject: Re: unaligned access sin sys_swapon()
Date: Tue, 18 Apr 2000 14:20:41 +0400	[thread overview]
Message-ID: <20000418142041.A26481@jurassic.park.msu.ru> (raw)
In-Reply-To: <20000416131121.A9167@twiddle.net>; from rth@twiddle.net on Sun, Apr 16, 2000 at 01:11:21PM -0700

On Sun, Apr 16, 2000 at 01:11:21PM -0700, Richard Henderson wrote:
> It sure appears to be a gcc problem.  I'll look into it.
> 

I don't know is it related bug or no, but the example below
prints "0" if compiled without BWX.
The bug still present in the 20000417 snapshot.

Ivan.


void foo(void * aaa)
{
}

int main()
{
	short tst[4] = { 1,2,3,4 };

	foo(tst);
	printf("%d\n", tst[3]);
	return 0;
}


  reply	other threads:[~2000-04-18 10:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-04-15  1:11 unaligned access sin sys_swapon() Thorsten Kranzkowski
2000-04-16 20:11 ` Richard Henderson
2000-04-18 10:20   ` Ivan Kokshaysky [this message]
2000-04-18 20:47     ` Thorsten Kranzkowski
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox