https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66432
--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Thu Feb 11 09:08:03 2016 New Revision: 233320 URL: https://gcc.gnu.org/viewcvs?rev=233320&root=gcc&view=rev Log: Backported from mainline 2015-11-21 Jakub Jelinek <ja...@redhat.com> PR debug/66432 * tree-inline.c (copy_debug_stmt): If gimple_debug_source_bind_get_value is DECL_ORIGIN of a PARM_DECL in decl_debug_args, don't call remap_gimple_op_r on it. * gcc.dg/debug/pr66432.c: New test. Added: branches/gcc-4_9-branch/gcc/testsuite/gcc.dg/debug/pr66432.c Modified: branches/gcc-4_9-branch/gcc/ChangeLog branches/gcc-4_9-branch/gcc/testsuite/ChangeLog branches/gcc-4_9-branch/gcc/tree-inline.c