From patchwork Tue Mar 25 16:45:29 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Polacek X-Patchwork-Id: 333652 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 9549714007B for ; Wed, 26 Mar 2014 05:24:21 +1100 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type; q=dns; s= default; b=lOAxY8dZx0M83vm+cdMH2vZ8FzBq8lcO5fw9FpAJt8lm6AnkKV7q8 wl68B6hpNYvOa3lWEmuNgr66znuVYahRe6kbT7Bc/BYdG0x5ReyZaaRLOtOETOIN 7cMwZ61ZPwGvIIfnk1ocQhnb8zu38fhHq+jTEpQxInfVEbA3ay8h6Q= 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:date :from:to:subject:message-id:mime-version:content-type; s= default; bh=b+sCRh8tho0aOzRKAqJv0WxFDXs=; b=s5pNzv66MZHstq2qut+Q QqxhqlpmuLUsp8AvGJLMi03P8hPJycJJmhWYgkLmZf9z0ZXsAUyMyNAISes+TgY4 gKMal4oJB71mjHb+biVTruQOm4s/B60OmgbmmlpBfffirrQIwRGi/DgET8yUpqOe 0TZHn6RDXVByeHL4jkyJgUw= Received: (qmail 6408 invoked by alias); 25 Mar 2014 18:24:15 -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 6395 invoked by uid 89); 25 Mar 2014 18:24:14 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.0 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD, SPF_HELO_PASS, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 25 Mar 2014 18:24:14 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s2PINY1G016295 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 25 Mar 2014 14:24:12 -0400 Received: from redhat.com (ovpn-116-23.ams2.redhat.com [10.36.116.23]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s2PGjT8S000729 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Tue, 25 Mar 2014 12:46:02 -0400 Date: Tue, 25 Mar 2014 17:45:29 +0100 From: Marek Polacek To: GCC Patches Subject: [committed][DOC PATCH] Fix typo in example (PR c/35449) Message-ID: <20140325164528.GT6523@redhat.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) I'm applying this as obvious. 2014-03-25 Marek Polacek PR c/35449 * doc/extend.texi (Example of asm with clobbered asm reg): Fix typo. Marek diff --git gcc/doc/extend.texi gcc/doc/extend.texi index 986cc94..c0da713 100644 --- gcc/doc/extend.texi +++ gcc/doc/extend.texi @@ -6343,7 +6343,7 @@ int foo () int *y = &x; int result; asm ("magic stuff accessing an 'int' pointed to by '%1'" - : "=&d" (r) : "a" (y), "m" (*y)); + : "=&d" (result) : "a" (y), "m" (*y)); return result; @} @end smallexample