[Bug jit/66700] New: Bogus gimplification of jit code using ptrs to functions
dmalcolm at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jun 30 01:40:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66700
Bug ID: 66700
Summary: Bogus gimplification of jit code using ptrs to
functions
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: jit
Assignee: dmalcolm at gcc dot gnu.org
Reporter: dmalcolm at gcc dot gnu.org
Blocks: 66627
Target Milestone: ---
https://gcc.gnu.org/ml/jit/2015-q2/msg00131.html noted a problem where a ptr to
a local was being passed as an argument in a function call built using
libgccjit, where the function was a prebuilt one that writes back through the
ptr to the local, but where the local wasn't changing.
The issue seems to be that during gimplification, the argument changes from
&local
to:
&local.0
and then "local" gets used later on in the caller, not "local.0".
Referenced Bugs:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66627
[Bug 66627] Tracker bug for jit bugs affecting ravi
More information about the Gcc-bugs
mailing list