This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch fortran]: Address some more warning
- From: Tobias Burnus <burnus at net-b dot de>
- To: Kai Tietz <ktietz70 at googlemail dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Fortran <fortran at gcc dot gnu dot org>
- Date: Wed, 09 Jun 2010 19:37:00 +0200
- Subject: Re: [patch fortran]: Address some more warning
- References: <AANLkTikrrmoFox1qpFOOdU87NT_plBuJ5ouABSztq09v@mail.gmail.com>
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
>
>