[Bug rtl-optimization/86902] [9 Regression] ICE: in as_a, at machmode.h:356 at -O
segher at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Sep 19 17:39:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86902
--- Comment #3 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Author: segher
Date: Wed Sep 19 17:38:11 2018
New Revision: 264426
URL: https://gcc.gnu.org/viewcvs?rev=264426&root=gcc&view=rev
Log:
combine: Use correct mode in new comparison (PR86902)
This code in try_combine uses the wrong mode. This fails (with RTL
checking) in trunk, but not in any released branches.
PR rtl-optimization/86902
* combine.c (try_combine): When changing the CC mode used, don't change
an unrelated mode in other_insn to that new CC mode.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/combine.c
More information about the Gcc-bugs
mailing list