------- Comment #8 from pinskia at gcc dot gnu dot org  2010-05-17 19:17 -------
The first example I think does as there is no way to "transfer" the dynamic
type via the struct copy.  The second one does not as the union still has a
field that is float and it is only unspecified behavior if you access the other
field in the union (IIRC).


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44164

Reply via email to