[Bug rtl-optimization/85300] [6/7/8 Regression] ICE in exact_int_to_float_conversion_p, at simplify-rtx.c:895

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Apr 10 15:32:00 GMT 2018


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

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Apr 10 15:31:57 2018
New Revision: 259285

URL: https://gcc.gnu.org/viewcvs?rev=259285&root=gcc&view=rev
Log:
        PR rtl-optimization/85300
        * combine.c (subst): Handle subst of CONST_SCALAR_INT_P new_rtx also
        into FLOAT and UNSIGNED_FLOAT like ZERO_EXTEND, return a CLOBBER if
        simplify_unary_operation fails.

        * gcc.dg/pr85300.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr85300.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/combine.c
    trunk/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list