[all-commits] [llvm/llvm-project] 407542: [flang] Process pointer component default initiali...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Mon Jun 30 10:25:21 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 407542b3ecbee9a5cff0a9dd2019d5dfeb783360
https://github.com/llvm/llvm-project/commit/407542b3ecbee9a5cff0a9dd2019d5dfeb783360
Author: Peter Klausler <pklausler at nvidia.com>
Date: 2025-06-30 (Mon, 30 Jun 2025)
Changed paths:
M flang/docs/Extensions.md
M flang/lib/Semantics/resolve-names.cpp
A flang/test/Semantics/bug1056.f90
M flang/test/Semantics/symbol15.f90
A t.f90
Log Message:
-----------
[flang] Process pointer component default initializers sooner (#145601)
Name resolution defers the analysis of all object pointer initializers
to the end of a specification part, including the default initializers
of derived type data pointer components. This deferment allows object
pointer initializers to contain forward references to objects whose
declarations appear later.
However, this deferment has the unfortunate effect of causing NULL
default initialization of such object pointer components when they do
not appear in structure constructors that are used as default
initializers, and their default initializers are required. So handle
object pointer default initializers of components as they appear, as
before.
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