Hello world,
I just committed the attached patch as obvious, simple and having
no user impact), as r15-7575.
Previously, a dump looked like
attributes: (VARIABLE IMPLICIT-SAVE BIND(C) SAVE-IMPLICIT)
and now it is
attributes: (VARIABLE IMPLICIT-SAVE BIND(C))
Best regards
Thomas
Remove double output of attr->save.
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.
diff --git a/gcc/fortran/dump-parse-tree.cc b/gcc/fortran/dump-parse-tree.cc
index adc07da133e..7726b708ad8 100644
--- a/gcc/fortran/dump-parse-tree.cc
+++ b/gcc/fortran/dump-parse-tree.cc
@@ -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)