Closed Quuxplusone closed 15 years ago
Attached main.c
(365 bytes, text/plain): Code to reproduce bug
Reduced testcase:
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-
f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
target triple = "x86_64-apple-darwin9.7"
define i32 @main(i32 %argc, i8** nocapture %argv) nounwind {
entry:
%0 = malloc [3758096384 x i32] ; <[3758096384 x i32]*> [#uses=0]
unreachable
}
we're planning to eliminate the malloc instruction in the near future, but this
should still be fixed before that.
I fixed this crash (r76899), but we're now generating silently incorrect code for this. Victor is working on ripping out the malloc instruciton completely, which is the real fix for this. Please see PR715 to track that work.
main.c
(365 bytes, text/plain)