This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/84406] [8 Regression][MSP430] ICE on valid code in find_widening_optab_handler_and_mode, at optabs-query.c:476


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

--- Comment #13 from Jeffrey A. Law <law at gcc dot gnu.org> ---
Author: law
Date: Tue Feb 20 19:11:34 2018
New Revision: 257858

URL: https://gcc.gnu.org/viewcvs?rev=257858&root=gcc&view=rev
Log:
        PR middle-end/84406
        * optabs-query.c (find_widening_optab_handler_and_mode): If from_mode
        is a scalar_int_mode, assert that to_mode is a scalar_int_mode with
        greater precision.  If to_mode is a MODE_PARTIAL_INT, stop the
        search at the associated MODE_INT.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/optabs-query.c

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]