Issue 177867
Summary [flang] NO_STOP_MESSAGE=1 environment variable does not suppress messages from STOP
Labels flang:runtime
Assignees
Reporter sscalpone
    I was unable to get NO_STOP_MESSAGE to work.

Here's the test program & how it works.
```
% cat s.f90
   STOP 123
   END
% flang s.f90
% a.out
Fortran STOP: code 123

% echo $?
123
```
Several variations with NO_STOP_MESSAGE.  Note that the runtime does recognize and reject the illegal value.
```
% NO_STOP_MESSAGE=1 a.out
Fortran STOP: code 123

% NO_STOP_MESSAGE=0 a.out
Fortran STOP: code 123

% NO_STOP_MESSAGE=foo a.out
Fortran runtime: NO_STOP_MESSAGE=foo is invalid; ignored
Fortran STOP: code 123

```
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to