Re: Multi-register location descriptors in dwarf2out.c

2011-07-22 Thread Richard Henderson
On 07/20/2011 04:55 AM, Richard Sandiford wrote: > The "loc_result &&" check makes it seem as though we're trying to cope > with cases XVECLEN is zero, but that only works if the first (dead) load > of XEXVECP (regs, 0, 0) is optimised away. Is a length of 0 valid > in this context? If not, shoul

Multi-register location descriptors in dwarf2out.c

2011-07-20 Thread Richard Sandiford
dwarf2out.c:multiple_reg_loc_descriptor has the code: size = GET_MODE_SIZE (GET_MODE (XVECEXP (regs, 0, 0))); loc_result = NULL; for (i = 0; i < XVECLEN (regs, 0); ++i) { dw_loc_descr_ref t; t = one_reg_loc_descriptor (REGNO (XVECEXP (regs, 0, i)),