From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 550 invoked by alias); 9 Aug 2013 13:59:52 -0000 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 Received: (qmail 355 invoked by uid 48); 9 Aug 2013 13:59:49 -0000 From: "janus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/44978] derived types are resolved more than once Date: Fri, 09 Aug 2013 13:59: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-Version: 4.6.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: janus at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: janus at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-08/txt/msg00550.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44978 --- Comment #7 from janus at gcc dot gnu.org --- (In reply to janus from comment #5) > The following draft patch does exactly this and gets the error count down to > one for comment 1 and down to two for comment 1 and 4: The remaining duplication in comment 4 should be fixed by the patch in PR 51945 comment 4. For comment 1, there should also be a way to get rid of it (however, one technical problem there is that 'resolve_symbol' does not have a return value to report its success or failure).