From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15091 invoked by alias); 31 May 2002 07:46:09 -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 15033 invoked by uid 71); 31 May 2002 07:46:05 -0000 Resent-Date: 31 May 2002 07:46:05 -0000 Resent-Message-ID: <20020531074605.15032.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-To: nobody@gcc.gnu.org Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, weihan@sys.com.cn Received:(qmail 10651 invoked by uid 61); 31 May 2002 07:36:40 -0000 Message-Id:<20020531073640.10650.qmail@sources.redhat.com> Date: Fri, 31 May 2002 00:46:00 -0000 From: weihan@sys.com.cn Reply-To: weihan@sys.com.cn To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version:gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: c++/6881: MinGW gcc's problem on template arguments X-SW-Source: 2002-05/txt/msg01014.txt.bz2 List-Id: >Number: 6881 >Category: c++ >Synopsis: MinGW gcc's problem on template arguments >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: ice-on-legal-code >Submitter-Id: net >Arrival-Date: Fri May 31 00:46:03 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Wang Weihan >Release: gcc version 2.95.3-6 (mingw special) >Organization: >Environment: Intel Pentium II, Windows 2000 Server Ed., WinGW building suite. >Description: If there are template-typed arguments in a stdcall pure virtual member function, the compiler will give an ICE. >How-To-Repeat: to compile try.cpp or just these codes with MinGW gcc 2.95.3-6: template struct A {}; struct B { virtual void __attribute__((__stdcall__)) c(A) = 0; }; The command line is: gcc -v -c -Wall -o try.o try.cpp >Fix: none >Release-Note: >Audit-Trail: >Unformatted: