This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/45091] Optimization levels produce (the same) different result for static_cast<unsigned char>(double)



------- Comment #1 from pinskia at gcc dot gnu dot org  2010-07-26 22:04 -------
Well considering 2^50 is outside the range of unsigned, this code does not have
a specified value.


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]