This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/85300] [6 Regression] ICE in exact_int_to_float_conversion_p, at simplify-rtx.c:895
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 25 Jun 2018 17:48:27 +0000
- Subject: [Bug rtl-optimization/85300] [6 Regression] ICE in exact_int_to_float_conversion_p, at simplify-rtx.c:895
- Auto-submitted: auto-generated
- References: <bug-85300-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85300
--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Jun 25 17:47:56 2018
New Revision: 262096
URL: https://gcc.gnu.org/viewcvs?rev=262096&root=gcc&view=rev
Log:
Backported from mainline
2018-04-10 Jakub Jelinek <jakub@redhat.com>
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:
branches/gcc-6-branch/gcc/testsuite/gcc.dg/pr85300.c
Modified:
branches/gcc-6-branch/gcc/ChangeLog
branches/gcc-6-branch/gcc/combine.c
branches/gcc-6-branch/gcc/testsuite/ChangeLog