From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8008 invoked by alias); 4 Feb 2003 18:36:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 7994 invoked by uid 71); 4 Feb 2003 18:36:01 -0000 Date: Tue, 04 Feb 2003 18:36:00 -0000 Message-ID: <20030204183601.7993.qmail@sources.redhat.com> To: aj@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Falk Hueffner Subject: Re: c/9569: 8 bytes seems to long for long long int Reply-To: Falk Hueffner X-SW-Source: 2003-02/txt/msg00209.txt.bz2 List-Id: The following reply was made to PR c/9569; it has been noted by GNATS. From: Falk Hueffner To: aj@gcc.gnu.org Cc: gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, stefaandr@hotmail.com, gcc-gnats@gcc.gnu.org Subject: Re: c/9569: 8 bytes seems to long for long long int Date: 04 Feb 2003 17:09:21 +0100 aj@gcc.gnu.org writes: > Synopsis: 8 bytes seems to long for long long int > > Responsible-Changed-From-To: unassigned->aj > Responsible-Changed-By: aj > Responsible-Changed-When: Tue Feb 4 14:37:46 2003 > Responsible-Changed-Why: > Taking it. > State-Changed-From-To: open->closed > State-Changed-By: aj > State-Changed-When: Tue Feb 4 14:37:46 2003 > State-Changed-Why: > The program is broken, add LL to the constant to get > a long long constant. Huh? The C standard says: "The type of an integer constant is the first of the corresponding list in which its value can be represented." That would make the constant long long without any suffixes. The C++ standard doesn't have long long at all, but I would think the same semantics should be applied here, anything else would be silly. -- Falk