Landing: c028b7c64551

Project / Subsystem

gcc / fortran

Date

2026-05-06

Author

Paul-Antoine Arras

Commit

c028b7c645514cfbd682bef364734314c01745d6

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
fortran
patch_id
commit_hash
c028b7c645514cfbd682bef364734314c01745d6
source_type
github
headline
Fortran Adds Debug Functions for OpenMP Data Structures
tldr
The Fortran compiler now includes debug functions for OpenMP data structures, enabling easier inspection during debugging.
author
Paul-Antoine Arras
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • fortran
  • openmp
  • debugging
discussion_id_link
bugzilla_pr
date
2026-05-06T00:00:00.000Z

The Fortran compiler now provides debug functions (show_omp_namelist and show_omp_clauses) for inspecting OpenMP data structures. These functions were previously unusable in GDB due to a null dumpfile pointer at debug time. This commit adds debug wrappers that temporarily set dumpfile to stderr, allowing these functions to be called from GDB and facilitating debugging of OpenMP code.