[Bug debug/48853] [4.7 Regression] Wrong DWARF codegen when Pmode != ptr_mode
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu May 5 15:50:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48853
--- Comment #16 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-05-05 15:48:22 UTC ---
Author: jakub
Date: Thu May 5 15:48:18 2011
New Revision: 173436
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173436
Log:
PR debug/48853
* dwarf2out.c (mem_loc_descriptor) <case SUBREG>: Pass mem_mode
instead of mode as 3rd argument to recursive call.
(mem_loc_descriptor) <case REG>: If POINTERS_EXTEND_UNSIGNED, don't
emit DW_OP_GNU_regval_type if mode is Pmode and mem_mode is not
VOIDmode.
(mem_loc_descriptor) <case SYMBOL_REF>: If POINTERS_EXTEND_UNSIGNED,
don't give up if mode is Pmode and mem_mode is not VOIDmode.
(mem_loc_descriptor) <case CONST_INT>: If POINTERS_EXTEND_UNSIGNED,
use int_loc_descriptor if mode is Pmode and mem_mode is not VOIDmode.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/dwarf2out.c
More information about the Gcc-bugs
mailing list