[Patch, gfortran] PR22304, 17917, 16511, 18870 and 23270 - modules, equivalences and commons

Steven Bosscher stevenb@suse.de
Mon Aug 22 07:33:00 GMT 2005


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



More information about the Gcc-patches mailing list