[Bug target/83969] [8 Regression] ICE in final_scan_insn, at final.c:2997 (error: could not split insn) for powerpc targets

bergner at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Mar 6 21:24:00 GMT 2018


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

Peter Bergner <bergner at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|segher at gcc dot gnu.org          |bergner at gcc dot gnu.org

--- Comment #11 from Peter Bergner <bergner at gcc dot gnu.org> ---
(In reply to Peter Bergner from comment #10)
> +  /* Don't allow non-offsettable addresses.  See PRs 83969 and 84279.  */
> +  if (!offsettable_address_p (false, mode, addr))
>      return false;

Ok, I had one regression and that was caused by a TImode load that was at the
end of the valid offset range...meaning "addr" was ok for a offset address, but
we could not add one more offset, which is what offsettable_address_p() tests
for.  Looks like I just need to replace offsettable_address_p() with
rs6000_offsettable_memref_p().  That fixes the failing test case.  I'll
rebootstrap/regtest with that change.


More information about the Gcc-bugs mailing list