This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/51727] Changing module files
- From: "tobi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 05 Oct 2012 19:35:36 +0000
- Subject: [Bug fortran/51727] Changing module files
- Auto-submitted: auto-generated
- References: <bug-51727-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51727
--- Comment #2 from Tobias SchlÃter <tobi at gcc dot gnu.org> 2012-10-05 19:35:36 UTC ---
I'm not in a position to test, but write_generic in module.c makes no effort to
traverse the tree in a left to right order, i.e. the line
write_generic ((gfc_symtree *)st->right);
should be moved to the bottom of the function.