[all-commits] [llvm/llvm-project] fd922e: [flang] Nonconformant assigned gotos
vdonaldson via All-commits
all-commits at lists.llvm.org
Wed Apr 5 14:53:46 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fd922e6ab0b5324cdf36e2646132d802d3a04ce0
https://github.com/llvm/llvm-project/commit/fd922e6ab0b5324cdf36e2646132d802d3a04ce0
Author: V Donaldson <vdonaldson at nvidia.com>
Date: 2023-04-05 (Wed, 05 Apr 2023)
Changed paths:
M flang/lib/Lower/Bridge.cpp
M flang/test/Lower/assigned-goto.f90
Log Message:
-----------
[flang] Nonconformant assigned gotos
Modify code generation for assigned gotos to generate a runtime error
for most cases that violate F90 Clause 8.2.4, rather than treating a
nonconformant GOTO as a nop. For example, generate a runtime error for
a GOTO that attempts to branch to a label for a FORMAT statement.
Relax the requirement that an assigned GOTO with a label list must
branch to a label in the list, and instead allow a branch to any valid
assigned GOTO target in scope.
More information about the All-commits
mailing list