[Bug tree-optimization/27394] double -> char conversion varies with optimization level

schwab at suse dot de gcc-bugzilla@gcc.gnu.org
Wed May 3 09:17:00 GMT 2006



------- Comment #6 from schwab at suse dot de  2006-05-03 09:17 -------
> While the C standard says that the result of the conversion is unspecified,

The standard says that the behaviour is undefined (6.3.1.4#1).  That is even
true when converting to unsigned.


-- 


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



More information about the Gcc-bugs mailing list