From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5307 invoked by alias); 27 Feb 2003 16:06: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 5293 invoked by uid 71); 27 Feb 2003 16:06:00 -0000 Date: Thu, 27 Feb 2003 16:06:00 -0000 Message-ID: <20030227160600.5292.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Michael Matz Subject: Re: c++/9868: [3.3/3.4 regression] ICE in c_expand_expr when qualifying member variable Reply-To: Michael Matz X-SW-Source: 2003-02/txt/msg01421.txt.bz2 List-Id: The following reply was made to PR c++/9868; it has been noted by GNATS. From: Michael Matz To: , , , , , Cc: Subject: Re: c++/9868: [3.3/3.4 regression] ICE in c_expand_expr when qualifying member variable Date: Thu, 27 Feb 2003 16:59:01 +0100 (CET) Hi Wolfang, On 27 Feb 2003 bangerth@dealii.org wrote: > Old Synopsis: ICE building LyX 1.3.0 with Qt frontend on HP-UX 11i with GCC 3.3 prerelease > New Synopsis: [3.3/3.4 regression] ICE in c_expand_expr when qualifying member variable > This is an extract: > --------------------------- > template struct D { > void (*p)(); > > void clear() { D::p(); } > }; > template class D; > -------------------------- > D::p was previously in a base class, which is why it is > qualified with Class::. The code above crashes 3.3 and 3.4: > g/x> /home/bangerth/bin/gcc-3.4-pre/bin/c++ -c x.cc > x.cc: In member function `void D::clear() [with T = bool]': > x.cc:6: instantiated from here > x.cc:4: internal compiler error: in c_expand_expr, at c-common.c:4339 > > It worked with 3.2.2, though, so it's a regression. This is exactly the same error as c++/9524. Ciao, Michael.