This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
> I disagree with the ERROR STOP change. My thinking is that the spirit of ERROR STOP is that the program noticed something went seriously wrong (e.g. program state corrupted in some way), and hence a backtrace and/or core dump might help figure out what went wrong. For less serious errors, there's the plain STOP. Similar to how in C there's exit() and abort().
Well, typical usages would be: STOP "Calculation finished" and ERROR STOP "No input file found"
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |