From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17725 invoked by alias); 21 Oct 2004 12:06:17 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 17718 invoked from network); 21 Oct 2004 12:06:16 -0000 Received: from unknown (HELO main.gmane.org) (80.91.229.2) by sourceware.org with SMTP; 21 Oct 2004 12:06:16 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CKbhv-0002Z4-00 for ; Thu, 21 Oct 2004 14:06:15 +0200 Received: from 203.107.212.244 ([203.107.212.244]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 21 Oct 2004 14:06:15 +0200 Received: from lerdsuwa by 203.107.212.244 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 21 Oct 2004 14:06:15 +0200 To: gcc-patches@gcc.gnu.org From: Kriang Lerdsuwanakij Subject: Re: [C++] My unreviewed patch Date: Thu, 21 Oct 2004 12:10:00 -0000 Message-ID: <4177A8E3.1050008@users.sf.net> References: <10b401c4b6d0$08dadb30$f503030a@mimas> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org Cc: gcc-patches@gcc.gnu.org X-Gmane-NNTP-Posting-Host: 203.107.212.244 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020826 X-SW-Source: 2004-10/txt/msg01824.txt.bz2 Giovanni Bajo wrote > Tue Oct 19 22:58:28 2004 > *************** > *** 1,4 **** > ! // { dg-do run } > // Test that template friends referring to class template members are > // respected. > > --- 1,4 ---- > ! // { dg-do compile } > // Test that template friends referring to class template members are > // respected. > > > Why? Didn't this use to be a run testcase? Thanks, I've fixed the typos in memfriend11.C and memfriend14.C testcases. Regarding the friend44.C test above, access checking problems are caught during compile time. And because it failed with bogus error message and never compiled nor ran, we don't lose anything changing it to compilation-only test. --Kriang