linux-origin
[Top] [All Lists]

Re: broken compiler?

To: Kanoj Sarcar <kanoj@xxxxxxxxxxxxxxxxxxx>
Subject: Re: broken compiler?
From: Ralf Baechle <ralf@xxxxxxxxxxx>
Date: Wed, 29 Mar 2000 02:03:46 +0200
Cc: linux-origin@xxxxxxxxxxx
In-reply-to: <200003282241.OAA10526@xxxxxxxxxxxxxxxxxxx>
References: <200003282236.OAA58828@xxxxxxxxxxxxxxxxxxx> <200003282241.OAA10526@xxxxxxxxxxxxxxxxxxx>
Sender: owner-linux-origin@xxxxxxxxxxx
On Tue, Mar 28, 2000 at 02:41:57PM -0800, Kanoj Sarcar wrote:

> I am going nuts. The above should read:
> 
> volatile unsigned int test_lock2 = 0x123;
> volatile unsigned int test_lock = 0xabc;
> volatile unsigned int test_lock3 = 0x789;
> 
> If I load the dword at address &test_lock (which is a dword aligned addr),
> I get 0xabc00000789. I was expecting 0x78900000abc.

Ok, but that's exactly what is expected to happen?!?

  Ralf

<Prev in Thread] Current Thread [Next in Thread>