This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/49543] Cast move causes incorrect code and numerical results
- 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: Mon, 27 Jun 2011 17:40:20 +0000
- Subject: [Bug middle-end/49543] Cast move causes incorrect code and numerical results
- Auto-submitted: auto-generated
- References: <bug-49543-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49543
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-06-27 17:40:01 UTC ---
/* Data - 1 overflows */
Yes that would mean it is undefined code. Try -fwrapv.