From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4804 invoked by alias); 7 Apr 2003 13:43:27 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 4796 invoked from network); 7 Apr 2003 13:43:26 -0000 Received: from unknown (HELO gate.algorithm.aelita.com) (212.176.18.2) by sources.redhat.com with SMTP; 7 Apr 2003 13:43:26 -0000 Received: from bagman.edm.com ([10.0.0.4]) by gate.algorithm.aelita.com (Post.Office MTA v3.5.3 release 223 ID# 0-12345L500S10000V35) with ESMTP id com for ; Mon, 7 Apr 2003 17:43:23 +0400 content-class: urn:content-classes:message Subject: RE: gcc 3.3: long long bug? MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: quoted-printable Date: Mon, 07 Apr 2003 13:43:00 -0000 X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 Message-ID: <3F6F4712B759A34ABD453A8B39C10D624802C5@bagman.edm.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Lev Assinovsky" To: "A.R. Ashok Kumar" Cc: "Andreas Schwab" , "Eric Botcazou" , X-SW-Source: 2003-04/txt/msg00071.txt.bz2 No I meant MSVC 6.2 on Windows. Yes, it works without any suffixes=20 with 3.2 on Unix. Also this: const long long n =3D 100000000 * 1000000000; works with 3.3 on Unix either.=20 ---- Lev Assinovsky Aelita Software Corporation O&S Core Division, Programmer ICQ# 165072909 > -----Original Message----- > From: A.R. Ashok Kumar [mailto:ashokar@sankhya.com] > Sent: Monday, April 07, 2003 5:35 PM > To: Lev Assinovsky > Cc: Andreas Schwab; Eric Botcazou; gcc-help@gcc.gnu.org > Subject: RE: gcc 3.3: long long bug? >=20 >=20 > Hi, >=20 > > No, what was the reason to change the behavior of 3.2? > > We developing the portable application which should work > > in Windows 2000 also. > > There is an automatic recognition of long long constants in=20 > MSVC though you can=20 > > add i64 suffix. > > With 3.3 I have to write: > > const long long n =3D > > #ifdef WIN32 > > 34359738368 > > #else > > 34359738368LL > > #endif > > ; > >=20 > > Not nice, right? >=20 > Is gcc3.3 for Win32 gives error for the following statement? >=20 > const long long n =3D 34359738368LL; >=20 > If so, it is not nice behaviour. Does it work for gcc 3.2 ? >=20 > - AshokA - >=20 >=20 >=20