PR libfortran/62296
commitc7cce8c0f40c1ff1c0b887222ffb01ba39e0797f
authorfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 23 Aug 2015 21:24:49 +0000 (23 21:24 +0000)
committerfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 23 Aug 2015 21:24:49 +0000 (23 21:24 +0000)
tree22c06ca665153780f25817897e0ceb0f60166df8
parenta537037b8e9f4ca6e53e947adc156f023f8acff7
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227105 138bc75d-0d04-0410-961f-82ee72b054a4
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