This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/50066] [4.7 Regression] Bad signed int to unsigned long long conversion
- 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: Sat, 13 Aug 2011 17:51:33 +0000
- Subject: [Bug middle-end/50066] [4.7 Regression] Bad signed int to unsigned long long conversion
- Auto-submitted: auto-generated
- References: <bug-50066-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50066
--- Comment #10 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-08-13 17:51:33 UTC ---
HJL, the code as written in comment #0 is undefined. Does the rewrite in
comment #6 work? Also does adding -fwrapv work too?