[PATCH] Fix PR/17901 -J causes -std=f95

Andrew Pinski pinskia@physics.uc.edu
Fri Oct 8 22:24:00 GMT 2004


Just a missing break in the source. Committed as obvious.

Thanks,
Andrew Pinski

ChangeLog:
	* options.c (gfc_handle_option): Add break after handing the
	J/M option.

Patch:
Index: options.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/fortran/options.c,v
retrieving revision 1.11
diff -u -p -r1.11 options.c
--- options.c	27 Aug 2004 14:49:34 -0000	1.11
+++ options.c	8 Oct 2004 21:58:37 -0000
@@ -306,6 +306,7 @@ gfc_handle_option (size_t scode, const c
      case OPT_J:
      case OPT_M:
        gfc_handle_module_path_options (arg);
+      break;

      case OPT_std_f95:
        gfc_option.allow_std = GFC_STD_F95_OBS | GFC_STD_F2003_OBS



More information about the Gcc-patches mailing list