This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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]

Re: [fortran,patch] Don't write common more than once in a module file (PR 30285)


Sorry, that I didn't think of this earlier. If you haven't committed the patch yet, and since you're touching it, can you please change the code to traverse the common tree in left-to-right order in order to prevent spurious differences between module files? Note that there's an early return in write_common0, so you have to be a bit careful.

Here's what I've committed (using your recent change to write_symbol0 as a model for tree traversing) as rev. 130257.


FX


Attachment: pr30285_3.diff
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]