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:34:59 +0000 (21:34 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 17 Mar 2011 20:34:59 +0000 (21:34 +0100)
commit8b29c87a61bf1ea9aa4691dd3c07ef79119d790a
treefd0300df57304dd7396f7bb1e39f442d95962b51
parenta82ff31f392508ef56c4021a711ec08982dadf76
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
* var-tracking.c (prepare_call_arguments): If CALL target
is a non-SYMBOL_REF CONSTANT_P, just add that into the list as
pc instead of looking it up using cselib_lookup and use
Pmode for it if x has VOIDmode.
* dwarf2out.c (gen_subprogram_die): If also both first and
second CONCAT arguments are VOIDmode, use mode of CONCAT itself.

From-SVN: r171114
gcc/ChangeLog
gcc/dwarf2out.c
gcc/var-tracking.c