From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21538 invoked by alias); 30 Apr 2010 09:43:46 -0000 Received: (qmail 21449 invoked by uid 48); 30 Apr 2010 09:43:24 -0000 Date: Fri, 30 Apr 2010 09:43:00 -0000 Message-ID: <20100430094324.21445.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-04/txt/msg03327.txt.bz2 ------- Comment #5 from sfilippone at uniroma2 dot it 2010-04-30 09:43 ------- (In reply to comment #3) > (In reply to comment #1) > > (In reply to comment #0) > > > Another OOP problem found by Salvatore. > > > > > > > > Whoa, you beat me in opening the bug! > > > If I modify the source code as in the next attachment, I get an ICE (nice, > since I was going to cut another source for the same problem, and now I can > save the effort). > Do you want me to open a separate PR? > And the ICE in full glory... [sfilippo@donald bug15]$ gfortran -v Using built-in specs. COLLECT_GCC=gfortran COLLECT_LTO_WRAPPER=/usr/local/gnu46/libexec/gcc/x86_64-unknown-linux-gnu/4.6.0/lto-wrapper Target: x86_64-unknown-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,lto --no-create --no-recursion : (reconfigured) ../gcc/configure --prefix=/usr/local/gnu46 --enable-languages=c,c++,fortran,lto --no-create --no-recursion : (reconfigured) ../gcc/configure --prefix=/usr/local/gnu46 --enable-languages=c,c++,fortran,lto --no-create --no-recursion : (reconfigured) ../gcc/configure --prefix=/usr/local/gnu46 --enable-languages=c,c++,fortran,lto --no-create --no-recursion Thread model: posix gcc version 4.6.0 20100430 (experimental) (GCC) [sfilippo@donald bug15]$ gfortran -o testd15 testd15.f03 testd15.f03:73:0: internal compiler error: in gfc_add_component_ref, at fortran/expr.c:703 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43945