Displaying 2 results from an estimated 2 matches for "c986b9bf".
2012 Oct 02
4
[LLVMdev] interesting possible compiler bug
This code is essentially from an LTP test ( http://ltp.sourceforge.net/
<http://ltp.sourceforge.net/> ).
#include <stdlib.h>
int main() {
void *curr;
do {
curr = malloc(1);
} while (curr);
return 0;
}
If you compile it with no optimization, it will keep the malloc calls.
If you compile it with -O2, it will create an infinite loop, i.e.
assuming that malloc
2012 Oct 02
0
[LLVMdev] interesting possible compiler bug
...LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121001/c986b9bf/attachment.html>