This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/79366] wrong result in cast to unsigned int
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 03 Feb 2017 19:46:20 +0000
- Subject: [Bug target/79366] wrong result in cast to unsigned int
- Auto-submitted: auto-generated
- References: <bug-79366-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79366
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #1)
> It is unspecified what is the value of an out of range conversion from
> double to unsigned will be.
Actually it is not just unspecified but undefined.