From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20479 invoked by alias); 18 Oct 2005 21:36:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 20456 invoked by uid 48); 18 Oct 2005 21:35:57 -0000 Date: Tue, 18 Oct 2005 21:36:00 -0000 Message-ID: <20051018213557.20455.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/24425] [4.0/4.1 Regression] Rejects code from kdegraphics3 In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pinskia at gcc dot gnu dot org" X-SW-Source: 2005-10/txt/msg02510.txt.bz2 List-Id: ------- Comment #4 from pinskia at gcc dot gnu dot org 2005-10-18 21:35 ------- This was caused by: PR c++/21592 * pt.c (build_non_dependent_expr): Don't wrap a COMPONENT_REF with already looked up member functions. Assert we're not returning a NON_DEPENDENT_EXPR with unknown type. * typeck.c (finish_class_member_access_expr): We can get non-template-id-expr baselinks. If the lookup finds a baselink, remember it even inside templates. The issue here is that with -fpremissive if we change the behavior, we will then have a rejects valid. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nathan at gcc dot gnu dot | |org Severity|normal |trivial http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24425