This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: bug fix in reload1.c
On Tue, Dec 09, 1997 at 10:48:41AM -0500, Weiwen Liu wrote:
> Sorry, there is a typo here. It should have been
> (minus:DI (subreg:DI (reg:SI 2) 0)
In which case it is wrong because we've not sign-extended properly.
> > (set (reg:SI T)
> > (minus:SI (reg:SI 2)
> > (subreg:SI (reg:HI 612) 0)))
> > (set (mem:DI (plus:DI (reg:DI 30)
> > (const_int 104)))
> > (subreg:DI (reg:SI T)))
> >
>
> There might be a problem here, because, I believe, recog_memoized in
> reload1 will not be able to analyze this insn.
I know. I'm beginning to think that my original solution, widening
the store, was done at the wrong place.
r~