PR debug/48163
commit56fe72231c5a69dad06fce0f4593a69c0f09ccbb
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 17 Mar 2011 20:33:54 +0000 (17 20:33 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 17 Mar 2011 20:33:54 +0000 (17 20:33 +0000)
tree496891b63014ea8e0128f03a522aec63c8048962
parentbe03890a9d610e73e30c3ca931e4ef728129e97a
PR debug/48163
* function.c (assign_parms): For data.passed_pointer parms
use MEM of data.entry_parm instead of data.entry_parm itself
as DECL_INCOMING_RTL.
* dwarf2out.c (rtl_for_decl_location): Use DECL_INCOMING_RTL
also when passed and declared mode is the same, DECL_RTL
is a MEM with pseudo as address and DECL_INCOMING_RTL is
a MEM too.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171113 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/dwarf2out.c
gcc/function.c