This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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]

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


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