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]

[fortran,committed] Add missing "break" in error_print()


Attached patch was committed after regtest & bootstrap on x86_64- linux, adding a missing "break" statement in a switch. I checked that the break was indeed missing, as Tobias and Paul suspected.



2009-05-07 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>

	PR fortran/39576
	* error.c (error_print): Add missing break statement.


Index: error.c =================================================================== --- error.c (revision 147252) +++ error.c (working copy) @@ -533,6 +533,7 @@

 	  case 'u':
 	    arg[pos].type = TYPE_UINTEGER;
+	    break;

 	  case 'l':
 	    c = *format++;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]