This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Dwarf2 question


On Wed, Mar 26, 2003 at 04:06:45PM +0100, Eric Botcazou wrote:
> Would it make any sense to teach mem_loc_descriptor to pass through the 
> LO_SUM in search of a SYMBOL_REF?

It would make sense to make mem_loc_descriptor do:

	case LO_SUM:
	  rtl = XEXP (rtl, 1);
	  /* FALLTHRU */

	case LABEL_REF:
	case CONST:
	case SYMBOL_REF:
	  ...

Alternately, do this in targetm.delegitimize_address.



r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]