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

FX Coudert fxcoudert@gmail.com
Sat Nov 17 14:26:00 GMT 2007


> 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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr30285_3.diff
Type: application/octet-stream
Size: 4317 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20071117/a94cd1b0/attachment.obj>


More information about the Fortran mailing list