This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch, gfortran] PR 15396: Userdef. operators returning arrays
- From: Tobias Schlüter <tobias dot schlueter at physik dot uni-muenchen dot de>
- To: Erik Edelmann <erik dot edelmann at iki dot fi>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>, gfortran <fortran at gcc dot gnu dot org>
- Date: Fri, 30 Dec 2005 01:12:51 +0100
- Subject: Re: [patch, gfortran] PR 15396: Userdef. operators returning arrays
- References: <20051229223810.GB6541@acclab.helsinki.fi>
Erik Edelmann wrote:
> Here's yet another one-liner, to fix PR 25396. The problem is
> that in interface.c (gfc_extend_expr), when we change the
> expression node to a function call, we forget to initialize
> e->value.function.name to NULL. This will confuse
> resolve.c (resolve_function) into beliving that the function has
> been resolved already, which it hasn't.
>
> Reg.tested on Linux/x86, on trunk, 4.1 and 4.0. Ok to commit?
Yes, thanks!
- Tobi
:REVIEWMAIL: