[all-commits] [llvm/llvm-project] 9ba332: [Flang][OpenMP] Deprecate Allocate Directive (#142...

Jack Styles via All-commits all-commits at lists.llvm.org
Wed Jun 4 02:37:06 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9ba332f9963561bb5ac6933266afe38eb8fde8cd
      https://github.com/llvm/llvm-project/commit/9ba332f9963561bb5ac6933266afe38eb8fde8cd
  Author: Jack Styles <jack.styles at arm.com>
  Date:   2025-06-04 (Wed, 04 Jun 2025)

  Changed paths:
    M flang/lib/Semantics/resolve-directives.cpp
    M flang/test/Lower/OpenMP/Todo/omp-declarative-allocate.f90
    M flang/test/Semantics/OpenMP/allocate-align01.f90
    M flang/test/Semantics/OpenMP/allocate01.f90
    M flang/test/Semantics/OpenMP/allocate02.f90
    M flang/test/Semantics/OpenMP/allocate03.f90
    M flang/test/Semantics/OpenMP/allocate05.f90
    M flang/test/Semantics/OpenMP/allocate06.f90
    M flang/test/Semantics/OpenMP/allocate09.f90

  Log Message:
  -----------
  [Flang][OpenMP] Deprecate Allocate Directive (#142378)

As part of OpenMP 5.2, the allocate directive has been deprecated in
favour of the allocators construct for Fortran when an ALLOCATE
statement follows the OpenMP allocate directive.

To enable this in flang, a warning has been added informing the user of
this. Tests to ensure this behaviour is continued are also included.

See also: #110008



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