From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16589 invoked by alias); 1 Jul 2010 13:29:18 -0000 Received: (qmail 15750 invoked by uid 48); 1 Jul 2010 13:29:05 -0000 Date: Thu, 01 Jul 2010 13:29:00 -0000 Message-ID: <20100701132905.15749.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/44743] Parser does not recogize local variable in constant expression for member function pointers In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "redi at gcc dot gnu dot org" 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-07/txt/msg00066.txt.bz2 ------- Comment #4 from redi at gcc dot gnu dot org 2010-07-01 13:29 ------- Note that the error isn't saying the type is wrong, it says it must be of the form `&X::Y' which is a constant expression and is different to a variable with the same value as &X::Y -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44743