http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48853
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-05-03 16:04:42 UTC --- Created attachment 24170 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24170 gcc47-pr48853.patch This patch should fix var2.c on ia64-hpux - the patch will for memory addresses only (i.e. when mem_mode is not VOIDmode) allow SYMBOL_REFs/LABEL_REFs/CONST of larger mode than DWARF2_ADDR_SIZE, assuming it is Pmode and ptr_mode has DWARF2_ADDR_SIZE. It is a total mess though, because whether it is sign extended or zero extended or something else isn't actually represented in the debug info, the debug info consumer needs to know.