[Bug target/84406] [8 Regression][MSP430] ICE on valid code in find_widening_optab_handler_and_mode, at optabs-query.c:476
rsandifo at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Feb 15 19:46:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84406
rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #43434|0 |1
is obsolete| |
--- Comment #9 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> ---
Created attachment 43435
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43435&action=edit
Possible patch v2
(In reply to Jakub Jelinek from comment #8)
> From the above comments, from_mode can be also MODE_INT and to_mode
> MODE_PARTIAL_INT, though I wonder how, because it clearly couldn't reach the
> PSImode by FOR_EACH_MODE.
Ah, missed that. So in those cases, the limit mode should
be the containing MODE_INT rather than to_mode itself.
Second try.
More information about the Gcc-bugs
mailing list