From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3640 invoked by alias); 21 Feb 2019 02:57:59 -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 3631 invoked by uid 89); 21 Feb 2019 02:57:58 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,KHOP_DYNAMIC,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mx0a-001b2d01.pphosted.com Received: from mx0b-001b2d01.pphosted.com (HELO mx0a-001b2d01.pphosted.com) (148.163.158.5) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 21 Feb 2019 02:57:57 +0000 Received: from pps.filterd (m0098416.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x1L2n6RR111958 for ; Wed, 20 Feb 2019 21:57:56 -0500 Received: from e12.ny.us.ibm.com (e12.ny.us.ibm.com [129.33.205.202]) by mx0b-001b2d01.pphosted.com with ESMTP id 2qseryja7s-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 20 Feb 2019 21:57:55 -0500 Received: from localhost by e12.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 21 Feb 2019 02:57:55 -0000 Received: from b01cxnp23033.gho.pok.ibm.com (9.57.198.28) by e12.ny.us.ibm.com (146.89.104.199) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Thu, 21 Feb 2019 02:57:53 -0000 Received: from b01ledav005.gho.pok.ibm.com (b01ledav005.gho.pok.ibm.com [9.57.199.110]) by b01cxnp23033.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x1L2vqFR24510576 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 21 Feb 2019 02:57:53 GMT Received: from b01ledav005.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D4D83AE062; Thu, 21 Feb 2019 02:57:52 +0000 (GMT) Received: from b01ledav005.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 95E2FAE05F; Thu, 21 Feb 2019 02:57:52 +0000 (GMT) Received: from otta.local (unknown [9.85.128.199]) by b01ledav005.gho.pok.ibm.com (Postfix) with ESMTP; Thu, 21 Feb 2019 02:57:52 +0000 (GMT) Subject: Re: Question regarding constraint usage within inline asm To: Alan Modra Cc: GCC References: <20190220030958.GC16787@bubble.grove.modra.org> <61bb9a58-0d4c-70e9-7611-3169de0c8950@linux.ibm.com> <20190220220437.GC23427@bubble.grove.modra.org> <20190220221933.GD23427@bubble.grove.modra.org> From: Peter Bergner Date: Thu, 21 Feb 2019 02:57:00 -0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-Version: 1.0 In-Reply-To: <20190220221933.GD23427@bubble.grove.modra.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit x-cbid: 19022102-0060-0000-0000-0000030E709D X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00010635; HX=3.00000242; KW=3.00000007; PH=3.00000004; SC=3.00000281; SDB=6.01164059; UDB=6.00607850; IPR=6.00944643; MB=3.00025672; MTD=3.00000008; XFM=3.00000015; UTC=2019-02-21 02:57:54 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19022102-0061-0000-0000-0000485EA9DA Message-Id: X-IsSubscribed: yes X-SW-Source: 2019-02/txt/msg00113.txt.bz2 On 2/20/19 4:19 PM, Alan Modra wrote: > I forgot to say, gcc-6, gcc-7 and gcc-8 handle your original testcase > with the register asm just fine. Yes, because they don't have my IRA and LRA patches that exposed this problem. I would say they were buggy for not complaining and silently spilling a hard register in the case where we used asm reg("..."). Peter