[all-commits] [llvm/llvm-project] 11d845: [flang][OpenMP] Skip implicit typing for OpenMPDec...

Kajetan Puchalski via All-commits all-commits at lists.llvm.org
Wed Jun 4 06:18:48 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 11d84546265840f419a6cca81c362e4e5264300b
      https://github.com/llvm/llvm-project/commit/11d84546265840f419a6cca81c362e4e5264300b
  Author: Kajetan Puchalski <kajetan.puchalski at arm.com>
  Date:   2025-06-04 (Wed, 04 Jun 2025)

  Changed paths:
    M flang/lib/Semantics/resolve-names.cpp
    A flang/test/Semantics/OpenMP/declare-simd-linear.f90
    M flang/test/Semantics/OpenMP/linear-clause01.f90

  Log Message:
  -----------
  [flang][OpenMP] Skip implicit typing for OpenMPDeclarativeConstruct (#142415)

DeclareSimdConstruct (and other declarative constructs) can currently
implicitly declare variables regardless of whether the source code
contains "implicit none" or not. This causes semantic analysis issues if
the implicit type does not match the declared type. To solve it, skip
implicit typing for OpenMPDeclarativeConstruct. Fixes issue #140754.

---------

Signed-off-by: Kajetan Puchalski <kajetan.puchalski at arm.com>



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