re PR libfortran/62296 (EXECUTE_COMMAND_LINE not F2008 conforming)
authorFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Sun, 23 Aug 2015 21:24:49 +0000 (21:24 +0000)
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Sun, 23 Aug 2015 21:24:49 +0000 (21:24 +0000)
commit1487cca00ca6f4e0fe60d72761737da162e96840
tree22c06ca665153780f25817897e0ceb0f60166df8
parentac9521817d7bb373be797d0181188f29ff4ab2a0
re PR libfortran/62296 (EXECUTE_COMMAND_LINE not F2008 conforming)

PR libfortran/62296

* intrinsics/execute_command_line.c (EXEC_INVALIDCOMMAND): New
error code.
(cmdmsg_values): New error message.
(set_cmdstat): Rework runtime error.
(execute_command_line): Handle invalid command line error status.

* gfortran.dg/execute_command_line_2.f90: New test.

From-SVN: r227105
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/execute_command_line_2.f90 [new file with mode: 0644]
libgfortran/ChangeLog
libgfortran/intrinsics/execute_command_line.c