[LLVMdev] gcc ICE (PR13392) and LLVM
Chris Lattner
sabre at nondot.org
Sun Dec 21 12:32:00 PST 2003
> The correct one is PR 13392:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13392
Cool!
> Interesting fact is that -O2 (or -O3) goes somehow around this
> problem. It looks like -O2 is not used here:
>
> /home/vak/ssrc/llvm/mklib --tag=disable-shared --silent --mode=compile g++ -c -I/home/vak/ssrc/llvm/lib/Support -I/home/vak/ssrc/llvm/lib/Support -I/home/vak/ssrc/llvm/include -I/home/vak/ssrc/llvm/include -I../../include -I/home/vak/ssrc/llvm/include -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -Wall -W -Wwrite-strings -Wno-unused -g -D_DEBUG CommandLine.cpp -o /home/vak/ssrc/llvm/lib/Support/Debug/CommandLine.lo
>
> and in some other LLVM libs. Is it intended?
Yup, by default, LLVM builds a "debug" build - suitable for hacking on.
If you want an optimized build, do 'make ENABLE_OPTIMIZED=1', and look in
lib/Release and tools/Release for the results. Hopefully this will be
fixed in GCC soon! :)
-Chris
--
http://llvm.cs.uiuc.edu/
http://www.nondot.org/~sabre/Projects/
More information about the llvm-dev
mailing list