[LLVMdev] gcc ICE (PR13392) and LLVM
"?=Valery A.Khamenya=?koi8-r?Q?"
khamenya at mail.ru
Sun Dec 21 07:07:03 PST 2003
Hi LLVMers,
there were a gcc ICE problem discussed in current mail list.
Chris was right here:
http://mail.cs.uiuc.edu/pipermail/llvmdev/2003-December/000693.html
saying that the PR 12544 is not really the corresponding issue :)
The correct one is PR 13392:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13392
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?
BTW, adding -O2 really does help.
Any comments?
---
kind regards,
Valery A.Khamenya
More information about the llvm-dev
mailing list