Landing: ab0dd7d5e16f

Project / Subsystem

gcc / openmp

Date

2026-06-30

Author

Paul-Antoine Arras

Commit

ab0dd7d5e16fcd90a58be84ec45a8a46994cf176

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
openmp
patch_id
commit_hash
ab0dd7d5e16fcd90a58be84ec45a8a46994cf176
source_type
github
headline
OpenMP gets runtime entry points for worksharing constructs
tldr
GCC adds support for OMPT-aware runtime entry points for worksharing constructs, controlled by new compiler flags.
author
Paul-Antoine Arras
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • openmp
  • ompt
  • runtime
discussion_id_link
bugzilla_pr
date
2026-06-30T00:00:00.000Z

GCC introduces two new flags, -fopenmp-ompt and -fopenmp-ompt-detailed, to emit OMPT-aware runtime entry points around OpenMP worksharing constructs. The -fopenmp-ompt flag replaces plain worksharing functions with _start and _end variants, while -fopenmp-ompt-detailed additionally includes a _dispatch stub. New stubs are added to libgomp to prepare for future OMPT callback invocations, aiding in performance analysis and debugging of OpenMP applications.