From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19715 invoked by alias); 17 Apr 2012 06:30:56 -0000 Received: (qmail 19706 invoked by uid 22791); 17 Apr 2012 06:30:55 -0000 X-SWARE-Spam-Status: No, hits=-3.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,SUBJ_OBFU_PUNCT_FEW X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 17 Apr 2012 06:30:01 +0000 From: "brainschrat at gmx dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/53015] New: free_pi_tree(): Unresolved fixup is back Date: Tue, 17 Apr 2012 06:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: brainschrat at gmx dot de 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: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" 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-04/txt/msg01359.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53015 Bug #: 53015 Summary: free_pi_tree(): Unresolved fixup is back Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned@gcc.gnu.org ReportedBy: brainschrat@gmx.de Bug 47546 was fixed some time ago, but I get "Internal error - free_pi_tree(): Unresolved fixup" all over the place again, with versions 4.6.2, 4.7.0 and 4.8.0 of gfortran from svn. I have a project that uses many Fortran 2003 features, like polymorphism, type-bound procedures etc. Some sub-classes are in different modules, which did not cause problems before and is supported by the standard. I also use OpenMPI and PETSc, so there are some preprocessor macros. The code compiles and runs fine withe the Intel Fortran compiler, which is the only other Fortran compiler I have access to. Like in 47546 , the issue is very elusive: Sometimes it happens when compiling the modules themselves, sometimes when compiling a program that uses the modules. Sometimes commenting out one arbitrary line of code fixes the error, and it remains fixed after putting the line in again. Sometimes removing all modules and object files and re-compiling (even files that remain unchanged) fixes the error. On some days, I cannot compile my code at all, but using an different version of gfortran works. But then the issue pops up again after adding a new line of code. Because of this, I am not able to provide a test case as I have no clue what the error means and the rest of the case seems non-deterministic. Maybe someone can assist me in narrowing down the possibilities.