Commit 27fabb5a by Tobias Schlüter

options.c (gfc_handle_option): Ensure requested free form line length is not too small.

* options.c (gfc_handle_option): Ensure requested free form line
length is not too small.

From-SVN: r124260
parent 55e092c4
2007-04-28 Tobias Schlter <tobi@gcc.gnu.org>
* options.c (gfc_handle_option): Ensure requested free form line
length is not too small.
2007-04-27 Brooks Moses <brooks.moses@codesourcery.com>
* intrinsic.texi (Transfer): Improve documentation.
......
......@@ -538,6 +538,8 @@ gfc_handle_option (size_t scode, const char *arg, int value)
break;
case OPT_ffree_line_length_:
if (value != 0 && value < 4)
gfc_fatal_error ("Free line length must be at least three.");
gfc_option.free_line_length = value;
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment