chase@orc.olivetti.com (01/12/90)
This is a crappy bug report on two counts, but I'm reporting it anyway and will try to provide more information in the future. First, this may be only a misfeature, and not a bug, and (second) I don't have anything like a small program that provokes it (yet). The bug: On a 386, running Mach, and using gcc (v 1.36), gcc-as, and gcc-ld, it is possible for a variable "x" declared "static void * x;" to have an odd address. This doesn't seem to happen usually. I realize that the 386 copes with this situation perfectly well, but it doesn't appear to be what is intended to happen; pointers allocated within records are aligned to a four-byte boundary, and pointers declared in all my simple test programs are aligned to a four-byte boundary. Besides, it gives the garbage collector fits. David