Code in insertCheck() does nothing when shadow is not an Instruction.
This fails to add a check when shadow is a compile-time constant.
At a high enough optimization level, it fails the following positive test:
int* p = malloc(int);
volatile int x = *p;
(*p) is compile-time (undef) value.
Original issue reported on code.google.com by euge...@google.com on 24 Dec 2012 at 9:13
Original issue reported on code.google.com by
euge...@google.com
on 24 Dec 2012 at 9:13