re PR debug/48163 (ICEs for cris-elf, like gcc.c-torture/compile/calls.c gcc.c-tortur...
authorJakub Jelinek <jakub@redhat.com>
Thu, 17 Mar 2011 20:33:54 +0000 (21:33 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 17 Mar 2011 20:33:54 +0000 (21:33 +0100)
commita82ff31f392508ef56c4021a711ec08982dadf76
tree496891b63014ea8e0128f03a522aec63c8048962
parent82ce305c0ce60d86928e6d2c7451d0401a446a78
re PR debug/48163 (ICEs for cris-elf, like gcc.c-torture/compile/calls.c gcc.c-torture/execute/complex-1.c)

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.

From-SVN: r171113
gcc/ChangeLog
gcc/dwarf2out.c
gcc/function.c