[all-commits] [llvm/llvm-project] 4b109d: [flang] Implement C_F_STRPOINTER (Fortran 2023) (#...

Caroline Newcombe via All-commits all-commits at lists.llvm.org
Thu Feb 12 10:42:35 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4b109dc5ac0b53d3c459c25324c41ae1e8a4583b
      https://github.com/llvm/llvm-project/commit/4b109dc5ac0b53d3c459c25324c41ae1e8a4583b
  Author: Caroline Newcombe <caroline.newcombe at hpe.com>
  Date:   2026-02-12 (Thu, 12 Feb 2026)

  Changed paths:
    M flang/include/flang/Optimizer/Builder/IntrinsicCall.h
    M flang/lib/Evaluate/intrinsics.cpp
    M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
    M flang/module/__fortran_builtins.f90
    M flang/module/iso_c_binding.f90
    A flang/test/Lower/Intrinsics/c_f_strpointer.f90
    A flang/test/Semantics/c_f_strpointer.f90

  Log Message:
  -----------
  [flang] Implement C_F_STRPOINTER (Fortran 2023) (#176973)

Implement C_F_STRPOINTER to associate a Fortran character pointer with a
C string.

This intrinsic has two forms:

C_F_STRPOINTER(CSTRARRAY, FSTRPTR [,NCHARS]): Associates FSTRPTR with a
C string array
C_F_STRPOINTER(CSTRPTR, FSTRPTR, NCHARS): Associates FSTRPTR with a
C_PTR pointing to a character string
Implementation includes semantic validation, FIR lowering, and
associated tests.

F2023 Standard: 18.2.3.5

AI Usage Disclosure: AI tools (Claude Sonnet 4.5) were used to assist
with implementation of this feature and test code generation. I have
reviewed, modified, and tested all AI-generated code.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list