Displaying 1 result from an estimated 1 matches for "1038024".
Did you mean:
1037024
2014 May 21
4
[LLVMdev] GVN incorrectly handling readnone parameter attribute?
Hi,
I'm investigating a bug which I have so far been able to narrow down
to the following small testcase:
======== test.c ===========
int *get_pntr(int *p) {
return p;
}
__attribute__((noinline))
void store(int *p) {
int *p2 = get_pntr(p);
*p2 = 10;
}
int test() {
int i;
store(&i);
return i;
}
-----------------------------
If this is compiled in two steps as