[all-commits] [llvm/llvm-project] eb05ef: [flang][openacc] Ignore bare acc routine in module...
Valentin Clement (バレンタイン クレメン) via All-commits
all-commits at lists.llvm.org
Thu Jun 25 10:34:12 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: eb05efcd9b035b397c907d9949fd225e40173c07
https://github.com/llvm/llvm-project/commit/eb05efcd9b035b397c907d9949fd225e40173c07
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2026-06-25 (Thu, 25 Jun 2026)
Changed paths:
M flang/include/flang/Parser/parse-tree.h
M flang/lib/Parser/program-parsers.cpp
M flang/lib/Semantics/program-tree.cpp
A flang/test/Semantics/OpenACC/acc-routine-bad.f90
Log Message:
-----------
[flang][openacc] Ignore bare acc routine in module subprogram part instead of erroring out (#205450)
This small code below would trigger not easy to understand error like
`error: expected 'END'`. Ignore such directive and emit the standard
warning.
```
module acc_routine_bad
contains
!$acc routine
subroutine acc_routine20()
end subroutine
end module
```
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