On Mon, Aug 22, 2011 at 7:19 AM, Segher Boessenkool segher@kernel.crashing.org wrote:
This isn't going to work with -fstrict-aliasing, but I guess openbios has that disabled anyway?
I don't think it breaks strict aliasing rules. A cell is defined as a 32bit integer on 32bit architectures and this code will only be compiled on ppc32. I just wrote it as a uint32_t for clarity.
William Hahne
Segher
-- OpenBIOS http://openbios.org/ Mailinglist: http://lists.openbios.org/mailman/listinfo Free your System - May the Forth be with you