Landing: be277865c4d2

Project / Subsystem

gcc / gcc/fortran

Date

2026-05-16

Author

Thomas Koenig

Commit

be277865c4d2a820f9f43873b4dde8a6d78c494c

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc/fortran
patch_id
commit_hash
be277865c4d2a820f9f43873b4dde8a6d78c494c
source_type
github
headline
Fortran: Emit correct prototypes for procedures defined via INTERFACE.
tldr
Fixes prototype generation for Fortran procedures defined via an interface block.
author
Thomas Koenig
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • fortran
  • prototype
  • interface
discussion_id_link
github:gcc-mirror/gcc#122245
bugzilla_pr
date
2026-05-16T00:00:00.000Z

This patch corrects prototype generation for Fortran procedures declared using the INTERFACE keyword. It ensures that the formal argument list is taken from the interface, which is crucial for proper type checking and correct code generation, especially when dealing with external routines or library functions.