[Bug middle-end/60429] Miscompilation (aliasing) with -finline-functions
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Mar 6 10:10:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60429
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |wrong-code
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2014-03-06
Component|libgcc |middle-end
Ever confirmed|0 |1
--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Can you identify the inlined call? Is it
if (pSLL && y == pSLL->scanline) {
loadAET(&AET, pSLL->edgelist);
pSLL = pSLL->next;
}
or
if (pSLL && y == pSLL->scanline) {
loadAET(&AET, pSLL->edgelist);
computeWAET(&AET);
pSLL = pSLL->next;
}
?
Can you also show the correct and the invalid assembly snippet?
Not sure if it is possible, but having a "driver" around this (in
a separate compilation-unit) that calls PolygonRegion, verifying correct output
for correct input
and thus showing the miscompile would be nice (so there is a runtime
testcase). It doesn't matter if linking requires Qt.
I am somewhat lost in that large function ;)
More information about the Gcc-bugs
mailing list