Subject: re: mips gcc4 ld.elf_so problems
To: Simon Burge <simonb@NetBSD.org>
From: matthew green <mrg@eterna.com.au>
List: tech-toolchain
Date: 06/28/2006 01:31:27
Now, the question is "is what gcc4 is doing right?". Since we started
with a pointer to Elf_Addr, is the optimiser legal in saying that that
pointer is always aligned so it an optimise the store in to an aligned
store? Or is it a bug with gcc4 and memcpy and assuming alignment?
i'm not a language lawyer (i don't even play on on tv) but from
history, the GCC folks definately would consider this a bug in
our code. if this works for gcc3 and gcc4 please commit it.
.mrg.