Re: SUBREG Unrecognizable RTL

2009-09-30 Thread daniel tian
Yeah. My target do have instructions support load/store HImode. And the problem is fix. I just don't understand why. Here is the information I gotta: http://gcc.gnu.org/ml/gcc/2005-01/msg00788.html. I defined a predicate function rice_memory_operand which calls the function memory operand directly

Re: SUBREG Unrecognizable RTL

2009-09-30 Thread Dave Korn
daniel tian wrote: > here are some information from the libgcc2.c.176r.greg. (BTY: the > error happened when cc1 build the libgcc2.c) > > Reloads for insn # 147 > Reload 0: reload_out (SI) = (reg/v:SI 99 [ __d0 ]) > GENERAL_REGS, RELOAD_FOR_OUTPUT (opnum = 0) > reload_out_reg: (reg/v:S

Re: SUBREG Unrecognizable RTL

2009-09-30 Thread daniel tian
here are some information from the libgcc2.c.176r.greg. (BTY: the error happened when cc1 build the libgcc2.c) Reloads for insn # 147 Reload 0: reload_out (SI) = (reg/v:SI 99 [ __d0 ]) GENERAL_REGS, RELOAD_FOR_OUTPUT (opnum = 0) reload_out_reg: (reg/v:SI 99 [ __d0 ]) reload