From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12824 invoked by alias); 21 Feb 2003 20:26:00 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 12809 invoked by uid 71); 21 Feb 2003 20:26:00 -0000 Date: Fri, 21 Feb 2003 20:26:00 -0000 Message-ID: <20030221202600.12808.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Wolfgang Bangerth Subject: Re: c++/9524 Reply-To: Wolfgang Bangerth X-SW-Source: 2003-02/txt/msg01080.txt.bz2 List-Id: The following reply was made to PR c++/9524; it has been noted by GNATS. From: Wolfgang Bangerth To: gcc-gnats@gcc.gnu.org Cc: Subject: Re: c++/9524 Date: Fri, 21 Feb 2003 14:18:09 -0600 (CST) ---------- Forwarded message ---------- Date: Fri, 21 Feb 2003 20:57:46 +0100 (CET) From: Michael Matz To: Wolfgang Bangerth Cc: gcc-gnats@gcc.gnu.org Subject: Re: c++/9524 Hi, On Fri, 21 Feb 2003, Wolfgang Bangerth wrote: > It seems as if this has been fixed on mainline, No: % cvs -z2 up -A [omitted] % cd ../devel; make -j 8 [omitted] % cd ../ ; ./devel/gcc/cc1plus -version GNU C++ version 3.4 20030221 (experimental) (i686-pc-linux-gnu) compiled by GNU C version 2.95.3 20010315 (SuSE). options passed: options enabled: -fpeephole -ffunction-cse -fkeep-static-consts -fpcc-struct-return -fgcse-lm -fgcse-sm -fsched-interblock -fsched-spec -fbranch-count-reg -fexceptions -fcommon -fgnu-linker -fargument-alias -fzero-initialized-in-bss -fident -fmath-errno -ftrapping-math -m80387 -mhard-float -mno-soft-float -mieee-fp -mfp-ret-in-387 -maccumulate-outgoing-args -mcpu=pentiumpro -march=i386 % cat boost.ii struct A { void (*f)(void); }; template< typename R > struct B : public A { void g() { A::f(); } }; template class B; % ./devel/gcc/cc1plus boost.ii void B::g() void B::g() [with R = bool] void B::g() [with R = bool] boost.ii:12: instantiated from here boost.ii:9: internal compiler error: in c_expand_expr, at c-common.c:4339 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. Regarding 3.3 branch: % cd ../3.3-clean/gcc; cvs -z2 up ; cd ../devel; make -j 8; cd .. % ./devel/gcc/cc1plus -version GNU C++ version 3.3 20030221 (prerelease) (i686-pc-linux-gnu) compiled by GNU C version 2.95.3 20010315 (SuSE). % ./devel/gcc/cc1plus boost.ii void B::g() void B::g() [with R = bool] void B::g() [with R = bool] boost.ii:12: instantiated from here boost.ii:9: internal compiler error: in c_expand_expr, at c-common.c:4319 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. > on a 3.3 snapshot of 2003-02-14. Can you double check whether it may > already have been fixed on 3.3 as well and if not possibly identify the > patch that fixed it on mainline, for backporting? There is no patch fixing it. Ciao, Michael.