[LLVMbugs] [Bug 1762] New: llvm-gcc sees a 128 bit integer, but there is none

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sat Nov 3 14:56:41 PDT 2007


http://llvm.org/bugs/show_bug.cgi?id=1762

           Summary: llvm-gcc sees a 128 bit integer, but there is none
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: edwintorok at gmail.com
                CC: llvmbugs at cs.uiuc.edu


$ llvm-gcc -emit-llvm -c t2.i -o t2.bc
WARNING: 128-bit integers not supported!

Reduced test case follows, I don't see any 128-bit integers there:
[original testcase from linux kernel mm/slub.c, reduced using delta]

$ cat t2.i
     struct kmem_cache {
     int objects;
    };
     static void process_slab( struct kmem_cache *s   ) {
     unsigned long map[(((s->objects) + (64) - 1) / (64))];
    }

$ uname -a
Linux lightspeed2 2.6.23-rc8-hrt1-cfs-v22-g1bef7dc0-dirty #17 Sun Sep 30
18:49:34 EEST 2007 x86_64 GNU/Linux

$ llvm-gcc -v
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: ../llvm-gcc4.0-2.1.source/configure
--prefix=/home/edwin/obj/../install --program-prefix=llvm-
--enable-llvm=/home/edwin/llvm-svn/llvm/ --enable-languages=c,c++
--disable-shared --disable-multilib : (reconfigured)
../llvm-gcc4.0-2.1.source/configure --prefix=/home/edwin/obj/../install
--program-prefix=llvm- --enable-llvm=/home/edwin/llvm-svn/llvm/
--disable-shared --disable-multilib
--with-gcc-version-trigger=/home/edwin/llvm-gcc4.0-2.1.source/gcc/version.c
--enable-languages=c,c++ --no-create --no-recursion
Thread model: posix
gcc version 4.0.1 (Apple Computer, Inc. build 5449)(LLVM build )


llvm-gcc is r43660, and llvm is r43663


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list