Re: Invalid hard-reg decomposition in lower-subreg

2011-12-19 Thread Richard Sandiford
Eric Botcazou writes: >> This endian difference is the cause of the mips-sde-elf build failure >> that Maciej reported earlier in the week. Tested on that target and >> on x86_64-linux-gnu. OK to install? >> >> Richard >> >> >> gcc/ >> * lower-subreg.c (can_decompose_p): Check every word of

Re: Invalid hard-reg decomposition in lower-subreg

2011-12-18 Thread Eric Botcazou
> This endian difference is the cause of the mips-sde-elf build failure > that Maciej reported earlier in the week. Tested on that target and > on x86_64-linux-gnu. OK to install? > > Richard > > > gcc/ > * lower-subreg.c (can_decompose_p): Check every word of a hard > register. OK e

Invalid hard-reg decomposition in lower-subreg

2011-12-17 Thread Richard Sandiford
lower-subreg.c:can_decompose_p uses the following condition to test whether a multiword hard register can be decomposed into words: return (validate_subreg (word_mode, GET_MODE (x), x, UNITS_PER_WORD) && HARD_REGNO_MODE_OK (regno, word_mode)); This doesn't work reliably on