From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16721 invoked by alias); 19 Feb 2009 14:52:01 -0000 Received: (qmail 16606 invoked by uid 48); 19 Feb 2009 14:51:34 -0000 Date: Thu, 19 Feb 2009 14:52:00 -0000 Message-ID: <20090219145134.16605.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/39242] [4.4 Regression] Inconsistent reject / accept of code In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "rguenth 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: 2009-02/txt/msg01724.txt.bz2 ------- Comment #6 from rguenth at gcc dot gnu dot org 2009-02-19 14:51 ------- Note that in the original testcase YStatement is incomplete, but properly derives from Rep in the TU with the explicit instantiation of RepPtrStore. Instead of not instantiating so much we could also try to suppress errors (like SFINAE) here. Of course reading the C++0x standard about explicit instantiation declarations isn't very conclusive (either there's no explanation or everything covering explicit instantiations also covers their declarations). -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mark at codesourcery dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39242