From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 126504 invoked by alias); 24 Nov 2015 18:00:09 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 126462 invoked by uid 89); 24 Nov 2015 18:00:08 -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,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: ausc60pc101.us.dell.com Received: from ausc60pc101.us.dell.com (HELO ausc60pc101.us.dell.com) (143.166.85.206) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Tue, 24 Nov 2015 18:00:05 +0000 X-LoopCount0: from 10.170.28.41 From: To: CC: , Subject: Re: basic asm and memory clobbers Date: Tue, 24 Nov 2015 18:00:00 -0000 Message-ID: <2F3EDFFC-D849-4527-8EED-8370206728B1@dell.com> References: <564AC155.4040601@LimeGreenSocks.com> <564B9CB1.1060001@redhat.com> <564E762B.6070705@LimeGreenSocks.com> <564EF338.4030703@redhat.com> <564EF7FF.1070107@LimeGreenSocks.com> <564F008B.8040703@redhat.com> <564F1436.2060005@LimeGreenSocks.com> <564F1A7D.9050607@redhat.com> <20151120152039.GA15922@gate.crashing.org> <564F3C6E.5010908@redhat.com> <20151120153431.GJ5675@tucnak.redhat.com> <564F46CF.2030403@redhat.com> <564FB2ED.70803@LimeGreenSocks.com> <56506A03.7030609@LimeGreenSocks.com> <5652E4A6.9090905@redhat.com> <56537921.9070809@redhat.com> <565386CA.8080005@LimeGreenSocks.com> <5653BFC5.5080305@LimeGreenSocks.com> <54275115-454B-4CCB-BEA8-752A14B24E62@dell.com> In-Reply-To: Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-IsSubscribed: yes X-SW-Source: 2015-11/txt/msg00172.txt.bz2 > On Nov 24, 2015, at 12:49 PM, Ian Lance Taylor wrote: >=20 > On Tue, Nov 24, 2015 at 8:58 AM, wrote: >>=20 >> I'm really concerned with loosening the meaning of basic asm. I >> wish I could find the documentation that says, or implies, that it >> is a memory clobber. And/or that it is implicitly volatile. >=20 > The volatile one is right there in the current docs. >=20 > https://gcc.gnu.org/onlinedocs/gcc/Basic-Asm.html#Basic-Asm >=20 > "All basic asm blocks are implicitly volatile." Ok, that's what I remembered. I reported finding that this was not impleme= nted correctly, some number of versions ago. paul