|
From: | Vincent Lefevre |
Subject: | Re: [Tinycc-devel] [PATCH] tccgen.c: Optimise 0<<x, 0>>x, -1>>x, x&0, x*0, x|-1, x%1. |
Date: | Fri, 6 Mar 2015 12:58:36 +0100 |
User-agent: | Mutt/1.5.23-6424-vl-r76280 (2015-02-19) |
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 <address@hidden> - 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)
[Prev in Thread] | Current Thread | [Next in Thread] |