From patchwork Tue Nov 17 01:22:25 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sandra Loosemore X-Patchwork-Id: 545314 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]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id E1C62141486 for ; Tue, 17 Nov 2015 12:22:49 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=SxtpJmiQ; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:to :from:subject:message-id:date:mime-version:content-type; q=dns; s=default; b=cplIK76ks+YzU+Bxin30f7uFwx7Fb3Ds1V6uZlk5mRt1d67Z13 tlrC6SRqWXEDgbHKdjPkfS8jWDQFp9hOeJ2m1tju3utsGaZa4JAxUI9rKKYyQgg8 2iAeL0ZMeFBN6fkrp82nS1SUKahmaUnx0XPS/ynSU3rSisWxah5EYB+NU= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:to :from:subject:message-id:date:mime-version:content-type; s= default; bh=Wpqh6tEcHo8jJmDHx/3VeciXS1g=; b=SxtpJmiQtpU215K6qUEt 33mU5wkbHRUbTMDSqDGfoq6v3OGjwxfvgQq8+9674y/ZmxxZq1v8+n2agdiyQtRl h6JNXSJVsFsl7lfK2+jzzQyridYbzTB5YAgSBKH/wD/pGGFmibillk39nUofGAAV 9lYl5vvGM1+bhghzWYTXBBs= Received: (qmail 46632 invoked by alias); 17 Nov 2015 01:22:41 -0000 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 Received: (qmail 46617 invoked by uid 89); 17 Nov 2015 01:22:40 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 17 Nov 2015 01:22:39 +0000 Received: from svr-orw-fem-06.mgc.mentorg.com ([147.34.97.120]) by relay1.mentorg.com with esmtp id 1ZyUyi-0007HY-58 from Sandra_Loosemore@mentor.com for gcc-patches@gcc.gnu.org; Mon, 16 Nov 2015 17:22:36 -0800 Received: from [IPv6:::1] (147.34.91.1) by SVR-ORW-FEM-06.mgc.mentorg.com (147.34.97.120) with Microsoft SMTP Server id 14.3.224.2; Mon, 16 Nov 2015 17:22:35 -0800 To: GCC Patches From: Sandra Loosemore Subject: [patch, doc] fix PR65129, markup on __builtin_assume_aligned Message-ID: <564A8151.8090401@codesourcery.com> Date: Mon, 16 Nov 2015 18:22:25 -0700 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 I've checked in this trivial patch to fix a markup error on the return type for __builtin_assume_aligned. I scanned through all the builtin documentation but didn't spot any similar instances of missing braces. -Sandra Index: gcc/doc/extend.texi =================================================================== --- gcc/doc/extend.texi (revision 230450) +++ gcc/doc/extend.texi (working copy) @@ -10907,7 +10907,7 @@ int g (int c) @end deftypefn -@deftypefn {Built-in Function} void *__builtin_assume_aligned (const void *@var{exp}, size_t @var{align}, ...) +@deftypefn {Built-in Function} {void *} __builtin_assume_aligned (const void *@var{exp}, size_t @var{align}, ...) This function returns its first argument, and allows the compiler to assume that the returned pointer is at least @var{align} bytes aligned. This built-in can have either two or three arguments,