From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7351 invoked by alias); 6 Oct 2012 11:41:40 -0000 Received: (qmail 7311 invoked by uid 48); 6 Oct 2012 11:41:24 -0000 From: "tobi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/51727] Changing module files Date: Sat, 06 Oct 2012 11:41: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: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: 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/msg00523.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D51727 --- Comment #3 from Tobias Schl=C3=BCter 2012-10-= 06 11:41:23 UTC --- Created attachment 28372 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=3D28372 Candidate patch Here's a patch which fixes one case of module contents not being written in= a defined order. I cannot test this right now because of bootstrap failures.= =20 There may be other places in the module writing code, where structures aren= 't traversed in a defined order. 2012-10-06 Tobias Schl=C3=BCter PR fortran/51727 * module.c (write_generic): Traverse tree in left-to-right order.