This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [Patch, fortran] PR20938, PR24519 and where_19 - equivalence dependencies
- From: Paul Thomas <paulthomas2 at wanadoo dot fr>
- To: Tobias SchlÃter <tobias dot schlueter at physik dot uni-muenchen dot de>
- Cc: "'fortran at gcc dot gnu dot org'" <fortran at gcc dot gnu dot org>, patch <gcc-patches at gcc dot gnu dot org>, Roger Sayle <roger at eyesopen dot com>, Brooks Moses <bmoses at stanford dot edu>
- Date: Thu, 23 Feb 2006 19:34:34 +0100
- Subject: Re: [Patch, fortran] PR20938, PR24519 and where_19 - equivalence dependencies
- References: <43F81F67.705@wanadoo.fr> <43FBA5D1.8040705@physik.uni-muenchen.de>
Tobi,
This isn't yet ok, see below.
I have realised that gfc_generate_function_code calls trans_common (ns)
before doing anything with the code. It would make more sense to keep
the segment_info lists and use them to check dependencies that to do the
same thing over again in dependency.c. The storage required will not be
great, since the list can be deleted at the end of the processing of a
namespace. I will figure out a clean way to do it; the result will be
much cleaner in every way.
Paul