https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106822
--- Comment #5 from Benjamin B. Meier ---
Thx for the very quick reaction and also you additional example:)!
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106822
Richard Biener changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Keywords|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106822
--- Comment #3 from Benjamin B. Meier ---
> The reason for the difference is because in the case where there is an int in
> the structure, the alignment is 4 bytes so a 2 or 4 byte read for a and b
> will not cause an fault while in the first
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106822
--- Comment #2 from Andrew Pinski ---
The reason for the difference is because in the case where there is an int in
the structure, the alignment is 4 bytes so a 2 or 4 byte read for a and b will
not cause an fault while in the first case where t