[Bug target/81803] [7/8 regression] miscompilation at -O1 on mips64el

mpf at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Oct 30 11:09:00 GMT 2017


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

--- Comment #16 from mpf at gcc dot gnu.org ---
(In reply to Eric Botcazou from comment #15)
> > I don't think the restriction is required for functional correctness but I
> > thought we may as well take advantage of a narrower load in the OP_IN case
> > if we could get away with it.
> 
> I don't think you're guaranteed that this reload will yield a load though.

If it ends up as a simple register move though then that shouldn't be harmful
either as it would be a WORD_REGISTER_OPERATION. I have no objection to
removing the restriction though; it is easier to reason about without the
special case.


More information about the Gcc-bugs mailing list