This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
gcc 3.3: long long bug?
- From: "Lev Assinovsky" <LAssinovsky at algorithm dot aelita dot com>
- To: <gcc-bugs at gcc dot gnu dot org>,<gcc-help at gcc dot gnu dot org>
- Date: Mon, 7 Apr 2003 15:29:57 +0400
- Subject: gcc 3.3: long long bug?
Hi all!
Took gcc-20030331 snap.
Compile max.cpp:
const long long n = 34359738368; // 2^35
Got:
max.cpp:1: error: integer constant is too large for "long" type
gcc3.2 doesn't give any errors.
Is that an error of gcc 3.3 or mine?
Thanks,
----
Lev Assinovsky
Aelita Software Corporation
O&S Core Division, Programmer
ICQ# 165072909