On 2015-03-06 10:38:11 +0000, Edmund Grimley Evans wrote:
> In general it is not allowed to write to one union member then
> read from another and I don't know of an exception that covers
> this particular case.

It is legal: https://en.wikipedia.org/wiki/Type_punning#Use_of_union

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to