From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22190 invoked by alias); 16 Jun 2010 10:32:24 -0000 Received: (qmail 22110 invoked by uid 48); 16 Jun 2010 10:32:07 -0000 Date: Wed, 16 Jun 2010 10:32:00 -0000 Message-ID: <20100616103207.22109.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/43945] [OOP] Derived type with GENERIC: resolved to the wrong specific TBP In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "sfilippone at uniroma2 dot it" 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: 2010-06/txt/msg01688.txt.bz2 ------- Comment #18 from sfilippone at uniroma2 dot it 2010-06-16 10:32 ------- (In reply to comment #17) Dear All, The attached source file contains the same kind of test as the original testd15, and yet it fails. So, there's something missing from the patch, even without considering the allocatable issue; perhaps in producing the original test case I reduced a bit too much, and a more complicated example still fails. By the same token, I dared not reduce the new test case below its current size. compiling and running gives the following: [sfilippo@localhost bug15]$ gfortran -v Using built-in specs. COLLECT_GCC=gfortran COLLECT_LTO_WRAPPER=/home/local/gnu46/bin/../libexec/gcc/i686-pc-linux-gnu/4.6.0/lto-wrapper Target: i686-pc-linux-gnu Configured with: ../gcc/configure --prefix=/usr/local/gnu46 --enable-languages=c,c++,fortran : (reconfigured) ../gcc/configure --prefix=/usr/local/gnu46 --enable-languages=c,c++,fortran : (reconfigured) ../gcc/configure --prefix=/usr/local/gnu46 --enable-languages=c,c++,fortran : (reconfigured) ../gcc/configure --prefix=/usr/local/gnu46 --enable-languages=c,c++,fortran Thread model: posix gcc version 4.6.0 20100612 (experimental) (GCC) [sfilippo@localhost bug15]$ gfortran -o test_coo test_coo.f03 [sfilippo@localhost bug15]$ ./test_coo Error: Missing ovverriding impl for allocate in class COO -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43945