Daniel Phillips <[EMAIL PROTECTED]> writes:

>> It may work actually, but e.g. arm, mips, superh, generetes alignment
>> fault, then fault handler checks detail and fix it, or will calls
>> BUG_ON() if source is kernel.
>> 
>> There is no merit to generate alignment fault.
>
> I had the impression that gcc is supposed to generate code to access
> the fields bytewise on architectures that generate alignment faults,
> when the compiler can't prove statically that the fields are aligned.
> I could be completely wrong about that...

Um.. We will need to check recent gcc...
-- 
OGAWA Hirofumi <[EMAIL PROTECTED]>

_______________________________________________
Tux3 mailing list
[email protected]
http://tux3.org/cgi-bin/mailman/listinfo/tux3

Reply via email to