This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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] | |
@@ -3767,30 +3767,50 @@ gfc_check_access (gfc_access specific_ac
}
-/* Write a common block to the module. */
+struct written_common
+{
+ const char *name, *label;
+ struct written_common *next;
+};
+
+static struct written_common *written_common;
+ /* Check if we've already output this common. */ + for (w = written_common; w; w = w->next) + if (strcmp (w->name, name) == 0 && strcmp (w->label, label) == 0) + return;
Thanks, - Tobi
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |