[all-commits] [llvm/llvm-project] 369da8: [flang][cuda] Allow assumed-size declaration for S...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Thu Mar 13 11:06:39 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 369da8421c2f70df3391b97a117b83961687b70d
      https://github.com/llvm/llvm-project/commit/369da8421c2f70df3391b97a117b83961687b70d
  Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
  Date:   2025-03-13 (Thu, 13 Mar 2025)

  Changed paths:
    M flang/include/flang/Lower/BoxAnalyzer.h
    M flang/include/flang/Semantics/tools.h
    A flang/test/Lower/CUDA/cuda-shared01.cuf

  Log Message:
  -----------
  [flang][cuda] Allow assumed-size declaration for SHARED variable (#130833)

Avoid triggering an assertion for shared variable using the assumed-size
syntax.

```
attributes(global) subroutine sharedstar()
  real, shared :: s(*) ! ok. dynamic shared memory.
end subroutine
```



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