https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89314
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Known to work| |4.2.4 Keywords| |ice-on-invalid-code Last reconfirmed| |2019-02-12 CC| |msebor at gcc dot gnu.org Ever confirmed|0 |1 Summary|ICE in wide_int_to_tree_1, |[7/8/9 Regression] ICE in |at tree.c:1561 |wide_int_to_tree_1, at | |tree.c:1561 Known to fail| |4.3.5, 4.4.7, 4.8.5, 4.9.4, | |5.4.0, 6.4.0, 7.3.0, 8.2.0, | |9.0 --- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> --- Confirmed. Bisection suggests the culprit is r118678 (the full range of revisions is actually between r118602 and r118678 but most are fortran changes), so it's an ancient regression introduced in GCC 4.3. r118678 | sayle | 2006-11-10 20:47:18 -0500 (Fri, 10 Nov 2006) | 7 lines * tree.c (build_int_cst_wide): Add an assertion (gcc_unreachable) when attempting to build INTEGER_CSTs of non-integral types. * expmed.c (make_tree): Use the correct type, i.e. the inner type, when constructing the individual elements of a CONST_VECTOR.