On 22 August 2007 14:06, Rask Ingemann Lambertsen wrote:
> On Wed, Aug 22, 2007 at 11:47:52AM +0100, Dave Korn wrote:
>>
>> Well, I like to think that I could cast the address to unsigned char*,
>> memcpy a bunch of them to the address of an int, then dereference the int and
>> the compiler would realise it was a no-op and optimise it away, but I doubt
>> thatt would actually happen...
>
> It did a few months ago, at least for scalar variables.
I'm proper impressed!
> Have we regressed in this area?
Not that I know of.
cheers,
DaveK
--
Can't think of a witty .sigline today....