[all-commits] [llvm/llvm-project] 7796d8: [flang] Skip `Fortran STOP:` before message when N...
jeanPerier via All-commits
all-commits at lists.llvm.org
Thu Nov 18 09:08:45 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7796d81ae8204289c6ea07f19e538cf287d3213f
https://github.com/llvm/llvm-project/commit/7796d81ae8204289c6ea07f19e538cf287d3213f
Author: Jean Perier <jperier at nvidia.com>
Date: 2021-11-18 (Thu, 18 Nov 2021)
Changed paths:
M flang/runtime/stop.cpp
M flang/unittests/Runtime/CMakeLists.txt
M flang/unittests/Runtime/RuntimeCrashTest.cpp
A flang/unittests/Runtime/Stop.cpp
Log Message:
-----------
[flang] Skip `Fortran STOP:` before message when NO_STOP_MESSAGE is set
In 'STOP bye bye', do not print 'Fortran STOP:` before 'bye bye' when
NO_STOP_MESSAGE environment variable is set at runtime.
Also only exit with code 1 in StopStatementText if this is an ERROR STOP.
This matches other compiler behaviors.
Move STOP related unit tests in their own test file and add new tests to
cover this change.
Differential Revision: https://reviews.llvm.org/D114152
More information about the All-commits
mailing list