We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
kmp_collapse.cpp
1 parent 9961c03 commit fa9ee4aCopy full SHA for fa9ee4a
openmp/runtime/src/kmp_collapse.cpp
@@ -1482,8 +1482,8 @@ void kmp_handle_upper_triangle_matrix(
1482
original_bounds_nest[0].ub0_u64);
1483
kmp_uint64 outer_lb0 = kmp_fix_iv(original_bounds_nest[0].loop_iv_type,
1484
original_bounds_nest[0].lb0_u64);
1485
- kmp_uint64 inner_ub0 = kmp_fix_iv(original_bounds_nest[1].loop_iv_type,
1486
- original_bounds_nest[1].ub0_u64);
+ [[maybe_unused]] kmp_uint64 inner_ub0 = kmp_fix_iv(
+ original_bounds_nest[1].loop_iv_type, original_bounds_nest[1].ub0_u64);
1487
// calculate the chunk's lower and upper bounds
1488
// the total number of iterations in the loop is the sum of the arithmetic
1489
// progression from the outer lower to outer upper bound (inclusive since the
0 commit comments