[LLVMbugs] Internal compiler error
sabre at nondot.org
Wed Oct 29 11:10:02 PST 2003
> My apologies in advance for sending email directly to the list instead
> of bugzilla.
No problem. I think that emailing the list when a testcase hasn't been
reduced is a good idea.
> I have a rather "large testcase" (a preprocessed output
> from a very large commercial product; 100K+ lines as reported by wc -l
> :-( ) which crashes the compiler - I was using llvmgcc -S on the
> preprocessed file.
Hrm, that's not good.
> Line number reported in the error text didn't point to anything obvious
> (atleast to me...) and this same C file compiles just fine with GCC
> 2.96. I'm still in the midst of trying to compile cfrontend and llvm
> from sources on RedHat AS 2.1 (gcc 2.96 based) in hopes of reducing the
> "testcase" to something smaller. In the mean time, wondering if someone
> willing to look at this could send me a email so I can email the
> testcase directly rather than send it out to the whole list.
Please send it to me and I'll take a look at it. It would be great if you
can reduce the testcase though. :)
Something that I have found useful is the use:
llvmgcc -E <whatever> -o - | sed '/^#/d' > test.i
Then work on reducing test.i.
More information about the llvm-bugs