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

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Wed Jan 14 11:06:18 2015
New Revision: 219588

URL: https://gcc.gnu.org/viewcvs?rev=219588&root=gcc&view=rev
Log:
2015-01-14  Richard Biener  <rguent...@suse.de>

    PR lto/64415
    * tree-inline.c (insert_debug_decl_map): Check destination
    function MAY_HAVE_DEBUG_STMTS.
    (insert_init_debug_bind): Likewise.
    (insert_init_stmt): Remove redundant check.
    (remap_gimple_stmt): Drop debug stmts if the destination
    function has var-tracking assignments disabled.

    * gcc.dg/lto/pr64415_0.c: New testcase.
    * gcc.dg/lto/pr64415_1.c: Likewise. 

Added:
    trunk/gcc/testsuite/gcc.dg/lto/pr64415_0.c
    trunk/gcc/testsuite/gcc.dg/lto/pr64415_1.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-inline.c

Reply via email to