[Bug middle-end/44164] [4.5 Regression] Aliasing bug triggered by Boost.Bind/Boost.Function
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon May 17 19:17:00 GMT 2010
------- 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
More information about the Gcc-bugs
mailing list