From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23991 invoked by alias); 23 Dec 2009 22:39:41 -0000 Received: (qmail 23976 invoked by uid 48); 23 Dec 2009 22:39:32 -0000 Date: Wed, 23 Dec 2009 22:39:00 -0000 Message-ID: <20091223223932.23975.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/42481] generic interface not recognized In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "anlauf at gmx dot de" 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: 2009-12/txt/msg02283.txt.bz2 ------- Comment #2 from anlauf at gmx dot de 2009-12-23 22:39 ------- Note that I personally would declare sub as generic in mod1, e.g. module mod1 interface sub module procedure sub end interface contains subroutine sub(x) real x end subroutine sub end module mod1 and remove the corresponding module procedure in mod2, as this resolves the compilation errors with gfortran and nagfor. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42481