This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [fortran,patch] Don't write common more than once in a module file (PR 30285)
- From: Bud Davis <bdavis9659 at sbcglobal dot net>
- To: fortran at gcc dot gnu dot org
- Date: Sat, 10 Nov 2007 11:05:11 -0800 (PST)
- Subject: Re: [fortran,patch] Don't write common more than once in a module file (PR 30285)
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=sbcglobal.net; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=ANl0zAA/yzaguiSHAG6s0LqqhQPdqjpM33A7gMK9jpYr4EoUXqbPC6Hl1nsyyTaFahUFPycKmsGKuf49/9W77EYIN4dRJ1MHHZEsj60qkV6d7VAOHgBZewbdtyDE2YZ8DoDsU6Fh4w22N+klTEiWNaZrvmoSxDvInx0s54Ib46k=;
is there anyplace we could store the fact that a common has been written ?
maybe store the pointer to the filename into the common record, then you could compare the
pointers and if they match, not write....
went down this same path many months ago, and felt that saving off a list of what was written was
a bag on the side of a kludge :):)
of course, a patch that works beats an elegant idea every time.....
just my 2 cents...
--bud davis