Subject: Re: Fixes for acorn32 build after GCC4 upgrade
To: Mike Pumford <>
From: David Laight <>
List: current-users
Date: 06/26/2006 21:36:13
On Sun, Jun 25, 2006 at 10:25:08PM +0100, Mike Pumford wrote:
> Mike Pumford wrote:
> Looks like there are some additional patches needed to cope with the 
> more agressive optimiser in GCC4. Attached is the patch to actually make 
> the kernel run (without several devices failing to probe).

Woudn't it be better to dereference a pointer to a volatile memory location
inside the loop - that way the compiler isn't allowed to optimise the
loop away.


David Laight: