diff options
author | Thomas Koenig <tkoenig@gcc.gnu.org> | 2025-02-16 12:24:13 +0100 |
---|---|---|
committer | Thomas Koenig <tkoenig@gcc.gnu.org> | 2025-02-16 12:25:56 +0100 |
commit | db19dc70bac1d143977431736cd7141d1b98a2dc (patch) | |
tree | ceaf9f4136102634cb82aacb648e247871f631e1 /gcc/fortran | |
parent | 6302f478433166f71464bc06caf5701c1800a7e7 (diff) | |
download | gcc-db19dc70bac1d143977431736cd7141d1b98a2dc.zip gcc-db19dc70bac1d143977431736cd7141d1b98a2dc.tar.gz gcc-db19dc70bac1d143977431736cd7141d1b98a2dc.tar.bz2 |
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.
Diffstat (limited to 'gcc/fortran')
-rw-r--r-- | gcc/fortran/dump-parse-tree.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/fortran/dump-parse-tree.cc b/gcc/fortran/dump-parse-tree.cc index adc07da..7726b70 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) |