This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Fix bootstrap failure on warnings
- From: FX Coudert <fxcoudert at gmail dot com>
- To: IRAR at il dot ibm dot com
- Cc: gcc-patches List <gcc-patches at gcc dot gnu dot org>, "fortran at gcc dot gnu dot org List" <fortran at gcc dot gnu dot org>
- Date: Sun, 21 Jan 2007 13:48:22 +0100
- Subject: Re: [patch] Fix bootstrap failure on warnings
O.K. to commit to mainline once testing completes?
* fortran/symbol.c (gfc_get_namespace): Let i run from 0 to
GFC_LETTERS
instead of 'a' to 'z'.
* fortran/resolve.c (resolve_function): Initialize name with
NULL.
You'd get a better chance of getting these fortran patches approved
if you cross-posted to the fortran mailing list. Most of us don't
read gcc-patches regularly.
For the first one (symbol.c), the warning is due to a middle-end
problem, and a workaround patch has already been submitted and
accepted (see http://gcc.gnu.org/ml/gcc-patches/2007-01/
msg01641.html), so it's best not to change the front-end code.
For the second one, this warning certainly should be silenced by -Wno-
error, which is enabled in fortran/Make-lang.in for this file. If
that's not the case, then it's another bug (which we also will have
to deal with). The change itself (initialize name with NULL) is OK.
FX