Landing: a6b2fe7f54bf

Project / Subsystem

gcc / fortran

Date

2026-05-28

Author

Sandra Loosemore

Commit

a6b2fe7f54bffc4006bee4b20dd788c0a81a9e2e

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
fortran
patch_id
commit_hash
a6b2fe7f54bffc4006bee4b20dd788c0a81a9e2e
source_type
github
headline
Fortran Gains New Intrinsic: c_f_strpointer for String Pointers
tldr
Adds the `c_f_strpointer` intrinsic to Fortran, enabling interoperability with C string pointers as part of Fortran 2023 support.
author
Sandra Loosemore
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • fortran
  • interoperability
  • fortran2023
discussion_id_link
bugzilla_pr
date
2026-05-28T00:00:00.000Z

The c_f_strpointer intrinsic has been added to Fortran, implementing a missing feature from the Fortran 2023 standard. This intrinsic allows Fortran programs to interoperate with C code that uses string pointers, by providing a way to associate a Fortran character variable with the target of a C string pointer. This enhancement expands Fortran’s ability to work with C libraries.