Landing: 91e02f44be98

Project / Subsystem

gcc / openmp

Date

2026-07-16

Author

Paul-Antoine Arras

Commit

91e02f44be983014dc081137f6015e29017ecf99

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
openmp
patch_id
commit_hash
91e02f44be983014dc081137f6015e29017ecf99
source_type
github
headline
openmp: Add OMPT variant of GOMP_has_masked_thread_num
tldr
Introduces a new OpenMP function variant for OMPT tracing.
author
Paul-Antoine Arras
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • openmp
  • ompt
  • tracing
discussion_id_link
bugzilla_pr
date
2026-07-16T00:00:00.000Z

A new OpenMP built-in function, GOMP_has_masked_thread_num_with_end, has been added. This function is semantically identical to GOMP_has_masked_thread_num but is specifically intended for use with the -fopenmp-ompt flag, which enables OpenMP Thread Tracing (OMPT). The change involves adding the new builtin definition, using it in the lower_omp_master lowering pass when OMPT is enabled, and updating libgomp to declare and implement the new function.