https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118496
Bug ID: 118496 Summary: [OpenMP] "omp unroll" parsed — but not active Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: openmp Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org CC: jakub at gcc dot gnu.org Target Milestone: --- Trying the following with GCC 15 still keeps the loop: void f() { #pragma omp unroll partial(5) for (int i =0 ; i < 5; i++) __builtin_printf("Hello world\n"); } void g() { #pragma omp unroll full for (int i =0 ; i < 5; i++) __builtin_printf("Hello world\n"); } The original patch handles unrolling, when trying OG13 (devel/omp/gcc-13) it properly unrolls.