This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/28473] with -O, casting result of round(x) to uint64_t produces wrong values for x > INT_MAX
- 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: 25 Jul 2006 02:12:28 -0000
- Subject: [Bug c/28473] with -O, casting result of round(x) to uint64_t produces wrong values for x > INT_MAX
- References: <bug-28473-13001@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from pinskia at gcc dot gnu dot org 2006-07-25 02:12 -------
Hmm, this works correctly on powerpc-darwin, where we get no round function at
all.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28473