From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22227 invoked by alias); 12 May 2003 14:06: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 22178 invoked by uid 71); 12 May 2003 14:06:01 -0000 Resent-Date: 12 May 2003 14:06:01 -0000 Resent-Message-ID: <20030512140601.22177.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, gawrilow@math.tu-berlin.de Received: (qmail 9321 invoked by uid 48); 12 May 2003 13:58:21 -0000 Message-Id: <20030512135821.9307.qmail@sources.redhat.com> Date: Mon, 12 May 2003 14:06:00 -0000 From: gawrilow@math.tu-berlin.de Reply-To: gawrilow@math.tu-berlin.de To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: c++/10750: 3.4 parser error with template template parameters X-SW-Source: 2003-05/txt/msg01230.txt.bz2 List-Id: >Number: 10750 >Category: c++ >Synopsis: 3.4 parser error with template template parameters >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: rejects-legal >Submitter-Id: net >Arrival-Date: Mon May 12 14:06:00 UTC 2003 >Closed-Date: >Last-Modified: >Originator: Ewgenij Gawrilow >Release: 3.4 20030509 (experimental) >Organization: >Environment: RedHat 7.3 on an Athlon PC Configured with: ../gcc-3.4/gcc/configure --enable-languages=c++ --enable-shared --with-cpu=athlon --enable-version-specific-runtime-libs --with-gxx-include-dir=/usr/local/include/c++/3.4 >Description: The attached (syntactically correct) code causes an erroneous error message: test.cc:6: error: `list_search::answer' cannot appear in a constant-expression. Old parser (3.0 .. 3.3) has not any problems with this. >How-To-Repeat: just compile it >Fix: >Release-Note: >Audit-Trail: >Unformatted: ----gnatsweb-attachment---- Content-Type: application/octet-stream; name="test.cc" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="test.cc" dGVtcGxhdGUgPHR5cGVuYW1lIEZpcnN0LCB0eXBlbmFtZSBTZWNvbmQsIHRlbXBsYXRlIDx0eXBl bmFtZSx0eXBlbmFtZT4gY2xhc3MgUHJlZGljYXRlPgpzdHJ1Y3QgbGlzdF9zZWFyY2ggewogICAv Ly8gd2hldGhlciBhdCBsZWFzdCBvbmUgcGFpciBmb3VuZAogICBzdGF0aWMgY29uc3QgYm9vbCBh bnN3ZXI9UHJlZGljYXRlPEZpcnN0LFNlY29uZD46OmFuc3dlcjsKICAgLy8vIHdoZXJlIGl0IHdh cyBmb3VuZAogICBzdGF0aWMgY29uc3QgaW50IHBvcz0gYW5zd2VyID8gMCA6IC0xOwp9Owo=