This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/14449] long long & unsigned calculation gives wrong result
- From: "schwab at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Mar 2004 01:18:15 -0000
- Subject: [Bug target/14449] long long & unsigned calculation gives wrong result
- References: <20040305161431.14449.joerg.richter@pdv-fs.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From schwab at suse dot de 2004-03-06 01:18 -------
I don't agree. (long long)i is required to be 2147483648LL since it is in the
range of long long, and multiplying by 10 cannot lead to overflow.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14449