OSDN Git Service

Backported from mainline
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 3 Apr 2013 08:19:56 +0000 (08:19 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 3 Apr 2013 08:19:56 +0000 (08:19 +0000)
commit443e3d5a38d019e362af6061444db1b40fec3ca7
tree7577409c548d72348a46f602f709f13e6923efd9
parenta2dc7a36497a70084b9f3348467cb2f38faa4341
Backported from mainline
2013-03-05  Jakub Jelinek  <jakub@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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@197391 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cfgexpand.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr56510.c [new file with mode: 0644]