[Bug libfortran/82233] [6/7/8 Regression] execute_command_line causes program to stop when command fails (or does not exist)

tkoenig at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Oct 22 14:21:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82233

--- Comment #22 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Sun Oct 22 14:21:16 2017
New Revision: 253983

URL: https://gcc.gnu.org/viewcvs?rev=253983&root=gcc&view=rev
Log:
2017-10-22  Thomas Koenig  <tkoenig@gcc.gnu.org>

        Backport from trunk
        PR libfortran/82233
        * intrinsics/execute_command_line.c (execute_command_line):
        No call to runtime_error if cmdstat is present.

2017-10-22  Thomas Koenig  <tkoenig@gcc.gnu.org>

        Backport from trunk
        PR libfortran/82233
        * gfortran.dg/execute_command_line_3.f90: New test.


Added:
    branches/gcc-6-branch/gcc/testsuite/gfortran.dg/execute_command_line_3.f90
Modified:
    branches/gcc-6-branch/gcc/testsuite/ChangeLog
    branches/gcc-6-branch/libgfortran/ChangeLog
    branches/gcc-6-branch/libgfortran/intrinsics/execute_command_line.c


More information about the Gcc-bugs mailing list