https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118689
--- Comment #4 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> --- > --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- [...] > Here is a fix for the ICE on the build_cltz_expr side. > And m2 FE should be extended to provide those builtins. > > 2025-01-30 Jakub Jelinek <ja...@redhat.com> > > PR tree-optimization/118689 > * tree-ssa-loop-niter.cc (build_cltz_expr): Return NULL_TREE if fn is > NULL and use_ifn is false. I've successfully bootstrapped sparc-sun-solaris2.11 with this patch last night. Thanks. The gm2/iso/run/pass/packed.mod failures (PR modula2/115032) also went away; probably the same issue.