This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/45091] Optimization levels produce (the same) different result for static_cast<unsigned char>(double)
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Jul 2010 22:04:08 -0000
- Subject: [Bug c++/45091] Optimization levels produce (the same) different result for static_cast<unsigned char>(double)
- References: <bug-45091-19478@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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