From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30183 invoked by alias); 15 Mar 2010 10:32:23 -0000 Received: (qmail 29809 invoked by uid 48); 15 Mar 2010 10:32:05 -0000 Date: Mon, 15 Mar 2010 10:32:00 -0000 Message-ID: <20100315103205.29808.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/43368] [4.3/4.4/4.5 Regression] different access to templated structure static field give different results 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-03/txt/msg01338.txt.bz2 ------- Comment #2 from redi at gcc dot gnu dot org 2010-03-15 10:32 ------- Is this valid? The 'foo' typedef needs the address of X::x but occurs before it has been defined. Comeau gives line 18: error: explicit specialization of member "X<>::x [with =false]" must precede its first use ( at line 13) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43368