From patchwork Wed May 9 17:50:12 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?TWFudWVsIEzDs3Blei1JYsOhw7Fleg==?= X-Patchwork-Id: 158018 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 3D6BEB6F9F for ; Thu, 10 May 2012 03:50:52 +1000 (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=1337190653; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: MIME-Version:Received:From:Date:Message-ID:Subject:To:Cc: Content-Type:Content-Transfer-Encoding:Mailing-List:Precedence: List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender: Delivered-To; bh=v93zuFSGLl+tPet9lm5GSjgtyH8=; b=oS3yIZ15odxJxe0 xSHGzMIQ0Xwywa8mEN04AWR0ZYr+JrsDSGQDuJ+azSEFtV0XCvntLIQUhK7P2gzn oiwJsfLFBzF2w020iJWlQnPCpr8L43hOwiXqzM9Q4IGeWqgNW+Lxcg8eoS2JEwqQ nPLNRMRkDDk3LbE1tMvFzASxZ47Y= 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:MIME-Version:Received:From:Date:Message-ID:Subject:To:Cc:Content-Type:Content-Transfer-Encoding:X-IsSubscribed:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=Tq11fQ/oXQy/H8YFwg5xJeCI2nzlbYFiJ3xL5CIi5q9LfmakX48yOghKsKFtL1 a5lBWcJ+PxLgKJTCtrb4SX63fz57QjW2wHObw3QpIUH2RF6RtPZL1/9VDDxqhFPV KTXmCRrWBvxX2+3xXtC5ZxmqiHiRYhO5KWpqzsWNxJuXA=; Received: (qmail 14643 invoked by alias); 9 May 2012 17:50:48 -0000 Received: (qmail 14633 invoked by uid 22791); 9 May 2012 17:50:46 -0000 X-SWARE-Spam-Status: No, hits=-3.9 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, KHOP_RCVD_TRUST, RCVD_IN_DNSWL_LOW, RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-bk0-f47.google.com (HELO mail-bk0-f47.google.com) (209.85.214.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 09 May 2012 17:50:34 +0000 Received: by bkcjm2 with SMTP id jm2so570580bkc.20 for ; Wed, 09 May 2012 10:50:32 -0700 (PDT) Received: by 10.205.128.8 with SMTP id hc8mr418051bkc.17.1336585832802; Wed, 09 May 2012 10:50:32 -0700 (PDT) MIME-Version: 1.0 Received: by 10.205.83.80 with HTTP; Wed, 9 May 2012 10:50:12 -0700 (PDT) From: =?ISO-8859-1?Q?Manuel_L=F3pez=2DIb=E1=F1ez?= Date: Wed, 9 May 2012 19:50:12 +0200 Message-ID: Subject: [doc] Fix xref in extend.texi To: Gcc Patch List Cc: Gerald Pfeifer X-IsSubscribed: yes 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 It is strange that a paragraph talking about GCC pragmas refers to the section in CPP talking about #indent and other such directives (no #pragma there). Wouldn't it better if it pointed to the section about #pragmas? OK? 2012-05-09 Manuel López-Ibáñez * doc/extend.texi (Function Attributes): Point xref to section about Pragmas. Index: doc/extend.texi =================================================================== --- doc/extend.texi (revision 187299) +++ doc/extend.texi (working copy) @@ -4102,8 +4102,7 @@ found convenient to use @code{__attribute__} to achieve a natural attachment of attributes to their corresponding declarations, whereas @code{#pragma GCC} is of use for constructs that do not naturally form -part of the grammar. @xref{Other Directives,,Miscellaneous -Preprocessing Directives, cpp, The GNU C Preprocessor}. +part of the grammar. @xref{Pragmas,,Pragmas Accepted by GCC}. @node Attribute Syntax @section Attribute Syntax