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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Feb 11 15:09:48 2015
New Revision: 220625

URL: https://gcc.gnu.org/viewcvs?rev=220625&root=gcc&view=rev
Log:
    PR middle-end/65003
    * varasm.c (place_block_symbol): Assert that DECL_RTL of the
    ultimate alias is MEM with SYMBOL_REF satisfying
    SYMBOL_REF_HAS_BLOCK_INFO_P as its operand.  Don't pass the MEM
    to place_block_symbol, but instead pass the SYMBOL_REF operand of it.

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

Added:
    trunk/gcc/testsuite/g++.dg/opt/pr65003.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/varasm.c

Reply via email to