From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27236 invoked by alias); 11 Oct 2012 13:03:49 -0000 Received: (qmail 27056 invoked by uid 48); 11 Oct 2012 13:03:26 -0000 From: "tobi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/51727] Changing module files Date: Thu, 11 Oct 2012 13:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tobi at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: tobi at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Attachment #28410 is obsolete Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-10/txt/msg01073.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D51727 Tobias Schl=C3=BCter changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #28410|0 |1 is obsolete| | --- Comment #13 from Tobias Schl=C3=BCter 2012-10= -11 13:03:25 UTC --- Created attachment 28424 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=3D28424 Patch for testing This patch should make output deterministic. Joost, can you please try it = out? I would also be interested in the compile-time impact on module-heavy code= .=20 Because the pointer_info tree can change during writing, I sometimes have to sort the tree several times, and I have no idea if this can become importan= t in files with large modules. Actually, now that I wrote this, I can already think of a trivial speedup, which I will implement before the final submission. Nevertheless, I would still be interested if the change disappears in the noise.