https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117645

John David Anglin <danglin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|target                      |rtl-optimization
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=113933

--- Comment #6 from John David Anglin <danglin at gcc dot gnu.org> ---
I believe this is a LRA bug.

The problem is the following insn generated by the LRA pass

(insn 181 178 59 9 (clobber (reg:TI 3 %r3 [111])) -1
     (nil))

in the reload RTL dump.  This causes the initialization of reg:TI 3
to be deleted by DCE.

The current implementation of addti3 on hppa only allows register
operands.  The problem is avoided if we improve addti3 to support
the addition of small integers.  The code needed to do this is
similar to that used for adddi3 on 32-bit targets.  Have a patch
which I will install soon.
  • [Bug rtl-optimization/117645] [... danglin at gcc dot gnu.org via Gcc-bugs

Reply via email to