[Bug middle-end/84184] gcc generates wrong relocations with negative offsets in struct arrays
ebotcazou at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Feb 3 11:43:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84184
--- Comment #11 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> Why those are handled differently? First looks like it works, second does
> not. It was my main signal to file a bug against gcc as asymmetry looked
> fishy.
Because the problematic bitfield path is only used for fields in structures,
i.e. misaligned integers are handled by another, simpler path.
More information about the Gcc-bugs
mailing list