From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 72314 invoked by alias); 9 Dec 2015 15:09:52 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 72296 invoked by uid 89); 9 Dec 2015 15:09:51 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: DUB004-OMC4S4.hotmail.com Received: from dub004-omc4s4.hotmail.com (HELO DUB004-OMC4S4.hotmail.com) (157.55.2.79) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA256 encrypted) ESMTPS; Wed, 09 Dec 2015 15:09:45 +0000 Received: from emea01-db3-obe.outbound.protection.outlook.com ([157.55.2.71]) by DUB004-OMC4S4.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Wed, 9 Dec 2015 07:09:42 -0800 Received: from VI1PR07MB0911.eurprd07.prod.outlook.com (10.161.109.11) by VI1PR07MB0910.eurprd07.prod.outlook.com (10.161.108.28) with Microsoft SMTP Server (TLS) id 15.1.337.19; Wed, 9 Dec 2015 15:09:41 +0000 Received: from VI1PR07MB0911.eurprd07.prod.outlook.com ([10.161.109.11]) by VI1PR07MB0911.eurprd07.prod.outlook.com ([10.161.109.11]) with mapi id 15.01.0337.015; Wed, 9 Dec 2015 15:09:40 +0000 From: Bernd Edlinger To: Bernd Schmidt , "gcc-patches@gcc.gnu.org" CC: Richard Biener , Jeff Law Subject: Re: [PATCH] Make basic asm implicitly clobber memory, pr24414 Date: Wed, 09 Dec 2015 15:09:00 -0000 Message-ID: References: <56680B27.5090405@redhat.com> In-Reply-To: <56680B27.5090405@redhat.com> authentication-results: redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=none action=none header.from=hotmail.de; x-ms-exchange-messagesentrepresentingtype: 1 x-microsoft-exchange-diagnostics: 1;VI1PR07MB0910;23:Bx1u2OLIedpcLp//mzNvJSLLZj/mbB6WbjBAhhQha2xfZ6KVMa8qoKJPN0PKwGorMufIpw0Qo+MRtH4ldd7j8bEZ9QFtKWNzDnHDocl+81yQH12CsONoeXbpz7OjhNT0V1uxFzdWtBNPajvRI3HF0FkluBn7zIBLWTV+BGDJu6sLwSKESl2X/VZIuSEc494T9buhrPaVP1RkTkXVG/gFnQ==;5:WVzZFhWwcMSMLwFo4eb8ASwpyJnf/Cy6ojJLRrE3MvyKASZtQYd/MR0VxS9pKXEoIu48luOFRK0MYLFo8RLKEKvar3r6/atG7VlgVkKvS50SXqSa6dtpAIFxyQgVZKnxpRa8/YhQzZp245Y0a9SEkg==;24:lfToGfuFgNVD7/s2l42K34HiVApULuGF8Otxco2NEW5njIXrWqeszBvfLUeEYoO9Vg6nz5LKeU+sUZQsvhyjdwbdMhkEgyqZItSOZw2HBug= x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:VI1PR07MB0910; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(432015012)(81415001)(82015046);SRVR:VI1PR07MB0910;BCL:0;PCL:0;RULEID:;SRVR:VI1PR07MB0910; x-forefront-prvs: 0785459C39 x-forefront-antispam-report: SFV:NSPM;SFS:(7070004)(98900002);DIR:OUT;SFP:1901;SCL:1;SRVR:VI1PR07MB0910;H:VI1PR07MB0911.eurprd07.prod.outlook.com;FPR:;SPF:None;LANG:en; spamdiagnosticoutput: 1:23 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="Windows-1252" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: sct-15-1-318-9-msonline-outlook-efc2f.templateTenant X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Dec 2015 15:09:40.8481 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR07MB0910 X-SW-Source: 2015-12/txt/msg01010.txt.bz2 Hi, On 09.12.2015 12:06 Bernd Schmidt wrote: > On 12/09/2015 03:18 AM, Bernd Edlinger wrote: >> Furthermore there is a documented use for asm(""): The empty=20 >> assembler string is used to make a function >> volatile, thus calls can not be optimized away. But I think it is=20 >> not necessary to make this clobber anything, >> nor should it be an instruction scheduling barrier, as it used to be=20 >> in the past. > > Making that change seems risky; best not to make assumptions about how=20 > these are used. In any case, > So would you agree on the general direction of the patch, if I drop the hunk in sched-deps.c ? Thanks Bernd.