[flang-commits] [flang] [flang] Fix crash when GoTo exits acc.loop region (PR #187613)
via flang-commits
flang-commits at lists.llvm.org
Thu Mar 19 22:13:28 PDT 2026
================
@@ -0,0 +1,24 @@
+! Test that GoTo exiting an acc.loop seq region generates acc.yield
+! instead of an illegal cross-region cf.br that would crash the compiler.
+! RUN: bbc -fopenacc -emit-fir %s -o - | FileCheck %s
----------------
khaki3 wrote:
Nice catch. I fixed it.
https://github.com/llvm/llvm-project/pull/187613
More information about the flang-commits
mailing list