[all-commits] [llvm/llvm-project] c7a416: [flang] Handle DATA-style default component /inits...

Peter Klausler via All-commits all-commits at lists.llvm.org
Tue Sep 23 15:44:41 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c7a4163471930d76ac1f8d7f4b7457c63c87235f
      https://github.com/llvm/llvm-project/commit/c7a4163471930d76ac1f8d7f4b7457c63c87235f
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2025-09-23 (Tue, 23 Sep 2025)

  Changed paths:
    M flang/lib/Semantics/data-to-inits.cpp
    A flang/test/Semantics/data24.f90

  Log Message:
  -----------
  [flang] Handle DATA-style default component /inits/ in time (#159469)

DEC-style default component initializers that use DATA statement syntax
aren't processed until DATA statement values are converted into init()
expressions in the symbol table. Part of that conversion process
involves combining storage-associated (EQUIVALENCE) symbols with
compiler-generated symbols with initialization when the associated
symbols have initialization, and part of that process involves the
application of default component initializers; so we need to make sure
that they've already been processed.

(Fixes Fujitsu Fortran test 0633_0004.f.)



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