[cfe-dev] clang hangs when compiling simple program

JP jpbonn-keyword-cfedev.957c48 at corniceresearch.com
Thu Oct 7 14:45:49 PDT 2010


Clang has recently started hanging when compiling the following program 
from the GCC testsuite.  It had been working fine until a recent change 
(in the past couple days).  I've update from the trunk and done a clean 
rebuild but still have the problem.  Does anyone else have the same issue?

$ clang -cc1 -nostdinc -triple=arm- -emit-llvm-bc /tmp/z.c -o /tmp/z.bc

int
main (void)
{
     long j = 0x40000000;
     if ((unsigned int) (0x40000000 + j) < 0L)
         abort ();

     return 0;
}



More information about the cfe-dev mailing list