[Bug tree-optimization/96915] ICE in tree-switch-conversion
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Sep 3 11:17:00 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96915
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org,
| |marxin at gcc dot gnu.org
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
tree-cfg.c only handles INTEGER_CST, so either we should check for just that in
the assertion, or better just drop it. Dependence on some other pass
performing some optimization is IMHO bad, what if that pass hasn't run for some
reason, due to debug counters or whatever else.
If it doesn't want to handle INTEGER_CSTs, then it can always punt on them with
a reason that some other pass should handle those cases.
More information about the Gcc-bugs
mailing list