http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56510
--- Comment #17 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-04-03 08:25:49 UTC --- Author: jakub Date: Wed Apr 3 08:19:56 2013 New Revision: 197391 URL: http://gcc.gnu.org/viewcvs?rev=197391&root=gcc&view=rev Log: Backported from mainline 2013-03-05 Jakub Jelinek <ja...@redhat.com> PR debug/56510 * cfgexpand.c (expand_debug_parm_decl): Call copy_rtx on incoming. (avoid_complex_debug_insns): New function. (expand_debug_locations): Call it. * gcc.dg/pr56510.c: New test. Added: branches/gcc-4_7-branch/gcc/testsuite/gcc.dg/pr56510.c Modified: branches/gcc-4_7-branch/gcc/ChangeLog branches/gcc-4_7-branch/gcc/cfgexpand.c branches/gcc-4_7-branch/gcc/testsuite/ChangeLog