[patch fortran]: Address some more warning

Tobias Burnus burnus@net-b.de
Wed Jun 9 17:53:00 GMT 2010


Kai Tietz wrote:
> the following patch addresses some warnings, which can be seen on
> bootstrap (stage 1) by using gcc 3.4.4
>
> Tested for i686-pc-cygwin, x86_64-pc-linux-gnu, and x86_64-pc-mingw32.
> Ok for apply?
>   

OK. [By the way, all of the warnings are not applicable as the nested
if-if-else is correct(ly indented) and all variables are initialized
(though it might take a while to see it).]

Tobias

> 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.
>
>
>
> Regards,
> Kai
>
>   



More information about the Gcc-patches mailing list