https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66700

--- Comment #6 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Author: dmalcolm
Date: Wed Jul  1 14:48:55 2015
New Revision: 225258

URL: https://gcc.gnu.org/viewcvs?rev=225258&root=gcc&view=rev
Log:
PR jit/66700: set TREE_ADDRESSABLE when building an ADDR_EXPR

Backport of r225248 (f410e1f5b44007c6cf6609df0afc16e7dcfeabd2)
from trunk

gcc/jit/ChangeLog:
        Backport from mainline r225248
        2015-07-01  David Malcolm  <dmalc...@redhat.com>

        PR jit/66700
        * jit-playback.c (jit_mark_addressable): New function.
        (gcc::jit::playback::lvalue::get_address): Call
        jit_mark_addressable on the underlying tree.

gcc/testsuite/ChangeLog:
        Backport from mainline r225248
        2015-07-01  David Malcolm  <dmalc...@redhat.com>

        PR jit/66700
        * jit.dg/all-non-failing-tests.h: Add
        test-pr66700-observing-write-through-ptr.c.
        * jit.dg/test-pr66700-observing-write-through-ptr.c: New testcase.

Added:
   
branches/gcc-5-branch/gcc/testsuite/jit.dg/test-pr66700-observing-write-through-ptr.c
Modified:
    branches/gcc-5-branch/gcc/jit/ChangeLog
    branches/gcc-5-branch/gcc/jit/jit-playback.c
    branches/gcc-5-branch/gcc/testsuite/ChangeLog
    branches/gcc-5-branch/gcc/testsuite/jit.dg/all-non-failing-tests.h

Reply via email to