From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26385 invoked by alias); 24 Feb 2003 23:16:01 -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 26340 invoked by uid 71); 24 Feb 2003 23:16:00 -0000 Date: Mon, 24 Feb 2003 23:16:00 -0000 Message-ID: <20030224231600.26339.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Wolfgang Bangerth Subject: Re: c++/9820: [3.3/3.4 regression] ice in build_baselink (templates) Reply-To: Wolfgang Bangerth X-SW-Source: 2003-02/txt/msg01301.txt.bz2 List-Id: The following reply was made to PR c++/9820; it has been noted by GNATS. From: Wolfgang Bangerth To: gcc-gnats@gcc.gnu.org, Janis Johnson Cc: Subject: Re: c++/9820: [3.3/3.4 regression] ice in build_baselink (templates) Date: Mon, 24 Feb 2003 17:13:26 -0600 (CST) Here's a smaller testcase: ------------------------ template struct X { template static int test(...); template static int test(int *); static const int i = sizeof(X::template test(0)); }; const int Yes = X::i; ------------------------ However, Janis, I can't seem to create a testcase that is compilable by 3.2 and yet generates the ICE in 3.3 and 3.4. Why don't you just grep the output of the compiler? W. ------------------------------------------------------------------------- Wolfgang Bangerth email: bangerth@ticam.utexas.edu www: http://www.ticam.utexas.edu/~bangerth/