From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27060 invoked by alias); 13 Jul 2010 09:18:06 -0000 Received: (qmail 26902 invoked by uid 48); 13 Jul 2010 09:17:55 -0000 Date: Tue, 13 Jul 2010 09:18:00 -0000 Message-ID: <20100713091755.26901.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/42385] [OOP] poylmorphic operators do not work In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "burnus at gcc dot gnu dot org" 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-07/txt/msg01348.txt.bz2 ------- Comment #4 from burnus at gcc dot gnu dot org 2010-07-13 09:17 ------- Carry on the test case from PR 43945 comment 19 (cf. also PR 43945 comment 30, 31, 32): Salvatore wrote: > Yup, but after discussion with Janus, it seems the failing part is not > dynamic dispatching, but compile-time resolution. Accordingly, I have > appended the test case to PR 42385. As the test case in comment 3 (attachment 21184) is different from the one of PR 43945 comment 19, I add the latter as well: Attachment 20927 compiles with both crayftn and gfortran, but the run-time result is different; while crayftn has Allocated COO succesfully, should now set components STOP with gfortran the result is Error: Missing ovverriding impl for allocate in class COO -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42385