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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed May 18 21:24:16 2016
New Revision: 236431

URL: https://gcc.gnu.org/viewcvs?rev=236431&root=gcc&view=rev
Log:
        PR c++/71100
        * cgraph.c (cgraph_edge::redirect_call_stmt_to_callee): Don't drop
        lhs if it has TREE_ADDRESSABLE type.

        * g++.dg/opt/pr71100.C: New test.

Added:
    branches/gcc-6-branch/gcc/testsuite/g++.dg/opt/pr71100.C
Modified:
    branches/gcc-6-branch/gcc/ChangeLog
    branches/gcc-6-branch/gcc/cgraph.c
    branches/gcc-6-branch/gcc/testsuite/ChangeLog

Reply via email to