https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118496
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Unrolling is intentionally implemented using ANNOTATE_EXPR annot_expr_unroll_kind. So you need at least -O1 to see it in action.
jakub at gcc dot gnu.org via Gcc-bugs Wed, 15 Jan 2025 11:32:17 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118496
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Unrolling is intentionally implemented using ANNOTATE_EXPR annot_expr_unroll_kind. So you need at least -O1 to see it in action.