[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#289002: gcc-3.3: assignment of 64-bit constant (0x100000000) to unsigned long always fails



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




Reply to: