"Recursive compilation detected" and signals


Platform is RHEL5, GCC 4.2.4, x86-32, and LLVM/LLVM-GCC from subversion
(yesterday evening). I'm compiling C code into bitcode, and then executing
the bitcode using the JIT compiler (lli).

I've managed to reproduce a problem when multiple signals go off around the
same time. A sample program is below. The result is the "recursive
compilation detected" JIT compiler error. The same program compiled via GCC
works fine. Note that the sample program uses the preprocessor to create
large amounts of superfluous code to tie-up the JIT compiler. If you have
an extremely fast CPU, try decreasing the timeout from 250ms.