[patch, fortran, committed] Remove duplicate output of save attribute

Thomas Koenig tkoenig@netcologne.de
Sun Feb 16 11:29:05 GMT 2025


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p-save.diff
Type: text/x-patch
Size: 628 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/fortran/attachments/20250216/01681272/attachment.bin>


More information about the Fortran mailing list