public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug jit/66700] New: Bogus gimplification of jit code using ptrs to functions
@ 2015-06-30  1:40 dmalcolm at gcc dot gnu.org
  2015-06-30  1:43 ` [Bug jit/66700] " dmalcolm at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: dmalcolm at gcc dot gnu.org @ 2015-06-30  1:40 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-07-01 15:10 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-30  1:40 [Bug jit/66700] New: Bogus gimplification of jit code using ptrs to functions dmalcolm at gcc dot gnu.org
2015-06-30  1:43 ` [Bug jit/66700] " dmalcolm at gcc dot gnu.org
2015-06-30  1:50 ` dmalcolm at gcc dot gnu.org
2015-06-30  2:13 ` dmalcolm at gcc dot gnu.org
2015-06-30  2:16 ` dmalcolm at gcc dot gnu.org
2015-07-01 12:51 ` dmalcolm at gcc dot gnu.org
2015-07-01 14:49 ` dmalcolm at gcc dot gnu.org
2015-07-01 15:10 ` dmalcolm at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).