Your message dated Thu, 06 Jan 2005 22:48:06 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Bug#289002: gcc-3.3: assignment of 64-bit constant 
(0x100000000) to unsigned long always fails
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 6 Jan 2005 17:58:00 +0000
>From [EMAIL PROTECTED] Thu Jan 06 09:58:00 2005
Return-path: <[EMAIL PROTECTED]>
Received: from open.hands.com [195.224.53.39] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1CmbtY-00013G-00; Thu, 06 Jan 2005 09:58:00 -0800
Received: from lkcl.net (host81-153-247-118.range81-153.btcentralplus.com 
[81.153.247.118])
        by open.hands.com (Postfix) with ESMTP id 42900C0BB
        for <[EMAIL PROTECTED]>; Thu,  6 Jan 2005 17:57:03 +0000 (GMT)
Received: from lkcl by lkcl.net with local (Exim 4.24)
        id 1Cmc2y-00024m-Mk; Thu, 06 Jan 2005 18:07:44 +0000
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Luke Kenneth Casson Leighton <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: gcc-3.3: assignment of 64-bit constant (0x100000000) to unsigned long 
always
 fails
X-Mailer: reportbug 2.39
Date: Thu, 06 Jan 2005 18:07:44 +0000
Message-Id: <[EMAIL PROTECTED]>
X-hands-com-MailScanner: Found to be clean
X-MailScanner-From: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: gcc-3.3
Version: 1:3.3.4-11
Severity: normal



-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux highfield 2.6.9-1-686 #1 Thu Nov 25 03:48:29 EST 2004 i686
Locale: LANG=C, LC_CTYPE=C

math ops  - >> and & - cannot be performed with constants > 32-bit!

#define TEST 0x100000000

unsigned long test = (TEST >> 32);

gives a compile error!


Versions of packages gcc-3.3 depends on:
ii  binutils                    2.15-2       The GNU assembler, linker and bina
ii  cpp-3.3                     1:3.3.4-11   The GNU C preprocessor
ii  gcc-3.3-base                1:3.3.4-11   The GNU Compiler Collection (base 
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  libgcc1                     1:3.5-0pre1  GCC support library

-- no debconf information


---------------------------------------
Received: (at 289002-done) by bugs.debian.org; 6 Jan 2005 21:48:45 +0000
>From [EMAIL PROTECTED] Thu Jan 06 13:48:45 2005
Return-path: <[EMAIL PROTECTED]>
Received: from fmmailgate05.web.de [217.72.192.243] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1CmfUq-0003WO-00; Thu, 06 Jan 2005 13:48:45 -0800
Received: by fmmailgate05.web.de (8.12.10/8.12.10/webde Linux 0.7) with SMTP id 
j06Lk33R007807 
        for [EMAIL PROTECTED]; Thu, 6 Jan 2005 22:48:13 +0100
Received: from [62.158.94.32] by freemailng5704.web.de with HTTP;
        Thu, 06 Jan 2005 22:48:06 +0100
Date: Thu, 06 Jan 2005 22:48:06 +0100
Message-Id: <[EMAIL PROTECTED]>
MIME-Version: 1.0
From: "Falk Hueffner" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: Bug#289002: gcc-3.3: assignment of 64-bit constant (0x100000000) 
to unsigned long always fails
Precedence: fm-user
X-WEBDE-Sender: <[EMAIL PROTECTED]>
Organization: http://freemail.web.de/
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Luke Kenneth Casson Leighton <[EMAIL PROTECTED]>, [EMAIL PROTECTED] schrieb am 
06.01.05 21:52:48:

> > Which is an entirely correct warning, since gcc defaults to the C99
> > standard, which does not have the "long long" type required to
> > represent the constant 0x100000000. Use -std=c99 if you want
> > to avoid this warning.
> 
>  ah!  okay!  thank you.
> 
>  ... but does it behave correctly / as expected?

Yes, it does, there's a '1' in the long for me. So I close this.

Falk



Reply via email to