From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26751 invoked by alias); 7 Apr 2003 13:15:43 -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 26739 invoked from network); 7 Apr 2003 13:15:42 -0000 Received: from unknown (HELO gate.algorithm.aelita.com) (212.176.18.2) by sources.redhat.com with SMTP; 7 Apr 2003 13:15:42 -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:15:39 +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:15:00 -0000 X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 Message-ID: <3F6F4712B759A34ABD453A8B39C10D62480295@bagman.edm.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Lev Assinovsky" To: "A.R. Ashok Kumar" , "Andreas Schwab" Cc: "Eric Botcazou" , X-SW-Source: 2003-04/txt/msg00065.txt.bz2 8 bytes =3D 64 bits. I have UltraSpars 64 bits. ---- 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:07 PM > To: Andreas Schwab > Cc: Eric Botcazou; Lev Assinovsky; gcc-help@gcc.gnu.org > Subject: Re: gcc 3.3: long long bug? >=20 >=20 > Hi, >=20 > > |> You can check the size of "long long" type in your=20 > system, by printing > > |> sizeof(long long).=20 > >=20 > > On my system sizeof(long) is 8. >=20 > Since 8 bytes are too small to hold 35-bit numbers, the=20 > error occurred. >=20 > Please use 'LL' suffix, to solve the problem. >=20 > i.e const long long n =3D 34359738368LL; >=20 > - AshokA - >=20 >=20