From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7943 invoked by alias); 11 Jul 2010 08:26:52 -0000 Received: (qmail 7864 invoked by uid 48); 11 Jul 2010 08:26:35 -0000 Date: Sun, 11 Jul 2010 08:26:00 -0000 Message-ID: <20100711082635.7863.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/44869] [OOP] Missing TARGET check - and wrong code or accepts-invalid? In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "janus 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/msg01185.txt.bz2 ------- Comment #7 from janus at gcc dot gnu dot org 2010-07-11 08:26 ------- (In reply to comment #6) > The runtime segfault persist. It seems this segfault comes from the call to 'self%assert' in 'test_a'. The dump shows self->$vptr->assert->assert_int ((struct class$test_case *) self, &C.1978, &C.1979, &C.1980, &"generic_tbp.f90"[1]{lb: 1 sz: 1}, &"purposely failed"[1]{lb: 1 sz: 1}, 15, 16); which looks ok. The problem seems to be that the generic TBPs in the vtab are not initialized properly. The dump contains the correct initialization code for the specific TBPs, but the init for the generics seems to be missing. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44869