Landing: f167db1fa47d

Project / Subsystem

gcc / gcc/openmp

Date

2026-07-01

Author

Paul-Antoine Arras

Commit

f167db1fa47db24fdb93e9ef75c2786245702e09

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc/openmp
patch_id
commit_hash
f167db1fa47db24fdb93e9ef75c2786245702e09
source_type
github
headline
Pass iteration count to static worksharing builtins for OMPT
tldr
OpenMP static worksharing builtins now receive loop iteration count for future OMPT integration.
author
Paul-Antoine Arras
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • openmp
  • OMPT
  • compiler internals
  • runtime
discussion_id_link
bugzilla_pr
date
2026-07-01T00:00:00.000Z

This commit modifies OpenMP’s static worksharing builtins to accept the total number of loop iterations as a new argument, niter. While niter is currently unused, this change prepares the compiler for forthcoming integration with the OpenMP Tools Interface (OMPT) by ensuring the iteration count is available when the worksharing constructs are expanded.