[Bug middle-end/86122] [8/9 Regression] ICE in useless_type_conversion_p, at gimple-expr.c:87
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jun 14 19:12:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86122
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Jun 14 19:11:21 2018
New Revision: 261607
URL: https://gcc.gnu.org/viewcvs?rev=261607&root=gcc&view=rev
Log:
PR middle-end/86122
* match.pd ((A +- CST1) +- CST2): Punt if last resort
unsigned_type_for returns NULL.
* gcc.c-torture/compile/pr86122.c: New test.
Added:
branches/gcc-8-branch/gcc/testsuite/gcc.c-torture/compile/pr86122.c
Modified:
branches/gcc-8-branch/gcc/ChangeLog
branches/gcc-8-branch/gcc/match.pd
branches/gcc-8-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list