This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/13793] On 64 bit, casting neg value to unsigned long gives incorrect result
- From: "falk at debian dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Jan 2004 21:20:20 -0000
- Subject: [Bug target/13793] On 64 bit, casting neg value to unsigned long gives incorrect result
- References: <20040121181813.13793.larue@cadence.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From falk at debian dot org 2004-01-21 21:20 -------
6.3.1.4 says: If the value of the integral part cannot be represented by
the integer type, the behavior is undefined.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13793