[flang] Respect NO_STOP_MESSAGE=1 in runtime
authorPeter Klausler <pklausler@nvidia.com>
Wed, 10 Nov 2021 19:55:46 +0000 (11:55 -0800)
committerPeter Klausler <pklausler@nvidia.com>
Fri, 12 Nov 2021 18:50:36 +0000 (10:50 -0800)
commit4a0af824ee22d21362b5e6eccdb38a666e2d9b27
treeac125ddbd19cef89427b5dbfcb23abdca517796e
parent3fb641618f1a3b73c0bd661c567e8db32dcde491
[flang] Respect NO_STOP_MESSAGE=1 in runtime

When an environment variable NO_STOP_MESSAGE=1 is set,
assume that STOP statements with a successful code
have QUIET=.TRUE.

Differential Revision: https://reviews.llvm.org/D113701
flang/runtime/environment.cpp
flang/runtime/environment.h
flang/runtime/stop.cpp