]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Remove double output of attr->save.
authorThomas Koenig <tkoenig@gcc.gnu.org>
Sun, 16 Feb 2025 11:24:13 +0000 (12:24 +0100)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Sun, 16 Feb 2025 11:25:56 +0000 (12:25 +0100)
In the recent patch for dumping all attributes, there were
duplicates for attr->save, which is output via gfc_code2string
previously. This patch removes that double output.

gcc/fortran/ChangeLog:

* dump-parse-tree.cc (show_attr): Remove double output
of attr->save.

gcc/fortran/dump-parse-tree.cc

index adc07da133e54f54b03f3be3db8d245bd69ca5f4..7726b708ad8961080132a7a6fe52b01ccb6041be 100644 (file)
@@ -1017,10 +1017,6 @@ show_attr (symbol_attribute *attr, const char * module)
     fputs (" AUTOMATIC", dumpfile);
   if (attr->class_pointer)
     fputs (" CLASS-POINTER", dumpfile);
-  if (attr->save == SAVE_EXPLICIT)
-    fputs (" SAVE-EXPLICIT", dumpfile);
-  if (attr->save == SAVE_IMPLICIT)
-    fputs (" SAVE-IMPLICIT", dumpfile);
   if (attr->used_in_submodule)
     fputs (" USED-IN-SUBMODULE", dumpfile);
   if (attr->use_only)