This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, gfortran] PR22304, 17917, 16511, 18870 and 23270 - modules, equivalences and commons
On Monday 22 August 2005 08:18, Paul Thomas wrote:
> =================fortran.diff===============
Mostly looks good to me. One question:
+ /* Check to see if the symbol is already in an equivalence group.
+ If it is, set the other members as being in common. */
+ if (sym->attr.in_equivalence)
+ {
+ for (e1 = gfc_current_ns->equiv; e1; e1 = e1->next)
+ {
What if the equivalenced sym is defined in the parent name space, or
is that impossible?
Gr.
Steven