From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4236 invoked by alias); 6 Jan 2003 23:03:44 -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 4217 invoked by uid 61); 6 Jan 2003 23:03:43 -0000 Date: Mon, 06 Jan 2003 23:03:00 -0000 Message-ID: <20030106230343.4216.qmail@sources.redhat.com> To: gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, rittle@labs.mot.com From: bangerth@dealii.org Reply-To: bangerth@dealii.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, rittle@labs.mot.com, gcc-gnats@gcc.gnu.org Subject: Re: c++/9134: [3.4 regression] sufficient contextual information to determine type; reports otherwise X-SW-Source: 2003-01/txt/msg00390.txt.bz2 List-Id: Old Synopsis: sufficient contextual information to determine type; reports otherwise New Synopsis: [3.4 regression] sufficient contextual information to determine type; reports otherwise State-Changed-From-To: open->analyzed State-Changed-By: bangerth State-Changed-When: Mon Jan 6 15:03:43 2003 State-Changed-Why: Confirmed. It's a regression on the mainline, it works with a snapshot of mainline from mid-December, so it's likely but not sure that this works with 3.3. Here's an even shorter testcase: -------------------------- struct X { int foo (void); }; struct Y { X x1,x2; int bar (bool b) { return (b ? x1 : x2).foo (); } }; ------------------ tmp/g> /home/bangerth/bin/gcc-3.4-pre/bin/c++ s.C s.C: In member function `int Y::bar(bool)': s.C:7: error: insufficient contextual information to determine type http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9134