Attached file crashes with opt -instcombine. Somebody's not handling 0-length arrays right but I'm not sure who.
Created attachment 823 [details] File that crashes
Fixed. Testcase here: Instcombine/2007-05-04-Crash.ll Patch here: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070430/049137.html -Chris