[patch fortran]: Address some more warning

Kai Tietz ktietz70@googlemail.com
Wed Jun 9 14:42:00 GMT 2010


Hi,

the following patch addresses some warnings, which can be seen on
bootstrap (stage 1) by using gcc 3.4.4

ChangeLog /gcc/fortran

2010-06-09  Kai Tietz

	* error.c (error_print): Pre-initialize loc by NULL.
	* openmp.c (resolve_omp_clauses): Add explicit
	braces to avoid ambigous else.
	* array.c (match_subscript): Pre-initialize m to MATCH_ERROR.


Tested for i686-pc-cygwin, x86_64-pc-linux-gnu, and x86_64-pc-mingw32.
Ok for apply?

Regards,
Kai

-- 
|  (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination
-------------- next part --------------
A non-text attachment was scrubbed...
Name: warn_fortran.diff
Type: application/octet-stream
Size: 2845 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20100609/1fe2ce68/attachment.obj>


More information about the Fortran mailing list