Displaying 1 result from an estimated 1 matches for "1005594".
Did you mean:
005594
2009 Aug 11
2
[LLVMdev] Bug in optimization pass related to strcmp and big endian back-ends
Hi all,
i'm working on a LLVM back-end right now and i think I found a bug in an
optimization pass. When compiling the following code using llvm-gcc (the
current 2.5 release) with -O2
int main(int argc, char** argv) {
char* pStr = "I" + (argc > 100);
printf("%d\n", strcmp(pStr, "I") == 0);
}
the strcmp