[Bug c/23421] unsigned long to float conversion by casting unsigned long* to float* fails in -O2 builds.

2005-08-16 Thread gino at dtecta dot com
--- Additional Comments From gino at dtecta dot com 2005-08-16 12:31 --- Created an attachment (id=9502) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9502action=view) stand-alone c example program The file contains a failing frand32 function and a workaround using a union. --

[Bug c/23421] unsigned long to float conversion by casting unsigned long* to float* fails in -O2 builds.

2005-08-16 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-16 12:35 --- Yes because you are violating C aliasing rules. *** This bug has been marked as a duplicate of 21920 *** -- What|Removed |Added