https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111917
Thomas Koenig changed:
What|Removed |Added
Keywords||ice-on-valid-code
Summary|ICE in as_a, at is-a.h:255 |[11/12/13/14 Regression]
|since GCC-8 |ICE in as_a, at is-a.h:255
||since GCC-8
Target Milestone|--- |14.0
CC||tkoenig at gcc dot gnu.org
--- Comment #1 from Thomas Koenig ---
Works for 4.8.5, must be a not-so-recent regression.
Note that with gcc (GCC) 11.3.1 20221121 (Red Hat 11.3.1-4) on POWER,
the error is different:
x.c: In function ‘main’:
x.c:15:5: internal compiler error: in mark_stmt_if_obviously_necessary, at
tree-ssa-dce.c:295
15 | int main() { d(); }
| ^~~~
Please submit a full bug report,