http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47283
--- Comment #17 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-02-28 15:47:20 UTC --- Author: jakub Date: Mon Feb 28 15:47:18 2011 New Revision: 170566 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170566 Log: 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. Modified: trunk/gcc/ChangeLog trunk/gcc/cfgexpand.c