Re:Betrayed by a bitfield (2012)
by Bromskloss on Sunday July 03, 2016 @05:08PM
(#12027621)
> It is not allowed by C11.
I see. Does GCC not support C11, or does it behave differently in this matter depending on whether it is in C11 mode or not?
> tried to hide, as usual for modern compiler authors, behind the literal wording of the C standard to justify their incompetence and the risks they force on the world.
I think that it's even worse to rely upon something that is not guaranteed by the letter of the standard.
Re:Betrayed by a bitfield (2012)
by B1FF_PSUVM on Sunday July 03, 2016 @05:19PM
(#12027664)
> C11. C99
2k-30+70 weirds things.
So the situation is just that, at one point, "optimizations" have been added by people who did not know what the where doing, and tried to hide, as usual for modern compiler authors, behind the literal wording of the C standard to justify their incompetence and the risks they force on the world.