re PR debug/47283 (ICE in refs_may_alias_p_1, at tree-ssa-alias.c)
authorJakub Jelinek <jakub@redhat.com>
Mon, 28 Feb 2011 15:47:18 +0000 (16:47 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 28 Feb 2011 15:47:18 +0000 (16:47 +0100)
commitf61c6f34a32fa7e55c196368a5c19dab6bcdfc84
treec5d323a9ceef1b87d50a4699d1d8a31a964badf7
parent1b500976241ac4b41d59489cab9fe3a9eccbc734
re PR debug/47283 (ICE in refs_may_alias_p_1, at tree-ssa-alias.c)

PR debug/47283
* cfgexpand.c (convert_debug_memory_address): Add AS parameter.
Use target address_mode and pointer_mode hooks instead of hardcoded
Pmode and ptr_mode.  Handle some simple cases of extending if
POINTERS_EXTEND_UNSIGNED < 0.
(expand_debug_expr) <case MEM_REF, INDIRECT_REF, TARGET_MEM_REF>:
Call convert_debug_memory_address.
(expand_debug_expr) <case ADDR_EXPR>: Pass as to
convert_debug_memory_address.

From-SVN: r170566
gcc/ChangeLog
gcc/cfgexpand.c