From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19940 invoked by alias); 7 Apr 2003 13:09:00 -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 19849 invoked from network); 7 Apr 2003 13:08:58 -0000 Received: from unknown (HELO pdns.sankhya.co.in) (203.199.194.30) by sources.redhat.com with SMTP; 7 Apr 2003 13:08:58 -0000 Received: from sankhya-internal.sankhya.com (sankhya-external [192.168.1.2]) by pdns.sankhya.co.in (8.11.6/8.11.6) with ESMTP id h37DJ2921441; Mon, 7 Apr 2003 18:49:02 +0530 Received: from sankhya.com (mailhost.sankhya.com [192.9.200.1]) by sankhya-internal.sankhya.com (8.11.6/8.11.6) with ESMTP id h372qJF08964; Mon, 7 Apr 2003 06:52:19 +0400 Received: from sun103.sankhya.com (sun103 [192.9.200.9]) by sankhya.com (8.6.12/8.6.9) with ESMTP id SAA10227; Mon, 7 Apr 2003 18:42:26 +0530 Received: from localhost by sun103.sankhya.com (SMI-8.6/SMI-SVR4) id SAA00635; Mon, 7 Apr 2003 18:37:25 +0530 Date: Mon, 07 Apr 2003 13:09:00 -0000 From: "A.R. Ashok Kumar" X-Sender: ashokar@sun103 To: Andreas Schwab cc: Eric Botcazou , Lev Assinovsky , gcc-help@gcc.gnu.org Subject: Re: gcc 3.3: long long bug? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2003-04/txt/msg00059.txt.bz2 Hi, > |> You can check the size of "long long" type in your system, by printing > |> sizeof(long long). > > On my system sizeof(long) is 8. Since 8 bytes are too small to hold 35-bit numbers, the error occurred. Please use 'LL' suffix, to solve the problem. i.e const long long n = 34359738368LL; - AshokA -