* Florian Weimer: > * Dale Johannesen: > >> The test of f->b comes out as >> >> testl $1048512, 73(%eax) >> >> This is wrong, because 4 bytes starting at 73 goes outside the >> original object and can cause a page fault. > > sizeof (struct Flags) is 76, so this isn't a bug, IMHO.
Scratch that, I obviously cannot count. 8-( Anyway, why is GCC emitting an unaligned load? This is very strange indeed, and fixing this should both increase code quality and eliminate the page fault problem.