This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/81803] [7/8 regression] miscompilation at -O1 on mips64el
- From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 30 Oct 2017 09:37:08 +0000
- Subject: [Bug target/81803] [7/8 regression] miscompilation at -O1 on mips64el
- Auto-submitted: auto-generated
- References: <bug-81803-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81803
--- Comment #13 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> I can't say that I am 100% convinced yet with my thinking here but I've
> attached an updated version of the original patch with some changes:
>
> * Incorporated Eric's feedback on the original patch to check
> GET_MODE_PRECISION instead of GET_MODE_SIZE for comparing whether a mode is
> strictly narrower
> * Limited the test to word sized inner modes or smaller
> * Limited the test to OP_OUT or OP_INOUT as I can't see any reason why it
> would matter if we do a narrower input reload
I'm not convinced for the 3rd restriction though, as push_reload treats the IN
and OUT cases exactly the same wrt WORD_REGISTER_OPERATIONS.