RFC: bug in combine
Florian Weimer
fw@deneb.enyo.de
Thu Aug 25 18:29:00 GMT 2005
* 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.
More information about the Gcc
mailing list