This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: subreg vs register_operand
- From: Richard Henderson <rth at redhat dot com>
- To: Pierre Mallard <pierremallard at yahoo dot fr>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 12 Sep 2002 14:09:08 -0700
- Subject: Re: subreg vs register_operand
- References: <20020912080956.45021.qmail@web20304.mail.yahoo.com>
On Thu, Sep 12, 2002 at 10:09:56AM +0200, Pierre Mallard wrote:
> Unrecognizable insn:
> (insn 357 190 358 (set (subreg:QI (subreg:HI (reg:SI 16 r16) 0) 0)
Nested subregs are illegal.
This happened because you did this:
> [(set (subreg:HI (match_dup 0) 0) ...
You should be using gen_lowpart instead of creating
subregs by yourself.
r~