From patchwork Thu Jan 12 01:12:59 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Kosnik X-Patchwork-Id: 135538 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 8874EB6EE8 for ; Thu, 12 Jan 2012 12:13:22 +1100 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1326935603; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: Mime-Version:Content-Type:Mailing-List:Precedence:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:Sender: Delivered-To; bh=1rqyWyU6G888QiT/cBBZWnoo6JU=; b=IOTBc+TiqdAzoKe MxF2gpRvW2cfxPjHhpsCDahWks2LYmKcHmEFXaJkc4V5RzHexQvKpDZKYa6mb1C2 q7EwLCfgqr6Ad1WmKZza470LPfIpH2RFo9Ab+q6POLfpUvfVQepe9FCe2AiiGMwi 27SvygV3ifsWpGJgTxuo0BgewjEk= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Received:Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References:Mime-Version:Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=DcUmBG3axGrBQPBKpkm4n+fEDprZwmJMMlDybpE891vj8FBHdm6WjAfsCkhJE5 H+QBnqIRjdejTtbTB6xW8UuhmdGVkBMp2XRvEfEh08lQhu3KzAqxJVKx8QlTAlkA xSkLJCeejcG+Nd21FZRjxQJzwoANY82KvQ5IgDfhPivOQ=; Received: (qmail 27988 invoked by alias); 12 Jan 2012 01:13:18 -0000 Received: (qmail 27979 invoked by uid 22791); 12 Jan 2012 01:13:17 -0000 X-SWARE-Spam-Status: No, hits=-6.1 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_HI, SPF_HELO_PASS, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 12 Jan 2012 01:13:00 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q0C1D0a8025211 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 11 Jan 2012 20:13:00 -0500 Received: from shotwell ([10.3.113.13]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q0C1CxKw002838 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Wed, 11 Jan 2012 20:13:00 -0500 Date: Wed, 11 Jan 2012 17:12:59 -0800 From: Benjamin Kosnik To: Benjamin Kosnik Cc: gcc-patches@gcc.gnu.org, jakub@redhat.com Subject: Re: [wwwdocs] gcc-4.7/porting_to.html Message-ID: <20120111171259.234934ee@shotwell> In-Reply-To: <20120111161110.5b66d228@shotwell> References: <20120111161110.5b66d228@shotwell> Mime-Version: 1.0 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org validation fixups... -benjamin 2012-01-11 Benjamin Kosnik * htdocs/gcc-4.7/porting_to.html: Fixup for validation. Index: htdocs/gcc-4.7/porting_to.html =================================================================== RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.7/porting_to.html,v retrieving revision 1.1 diff -c -p -r1.1 porting_to.html *** htdocs/gcc-4.7/porting_to.html 12 Jan 2012 00:08:30 -0000 1.1 --- htdocs/gcc-4.7/porting_to.html 12 Jan 2012 01:09:24 -0000 *************** longer compile. For example, code such a *** 133,139 ****

! template
  int t(T i)
  { return f(i); }
  
--- 133,139 ----
  

! template<typename T>
  int t(T i)
  { return f(i); }
  
*************** int
*** 169,175 ****
  f(int i)
  { return i; }
  
! template
  int t(T i)
  { return f(i); }
  
--- 169,175 ----
  f(int i)
  { return i; }
  
! template<typename T>
  int t(T i)
  { return f(i); }