From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 108692 invoked by alias); 21 Apr 2017 19:10:55 -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 108676 invoked by uid 89); 21 Apr 2017 19:10:54 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-24.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=ham version=3.3.2 spammy=U*markus, sk:markus@, markustrippelsdorfde, D*trippelsdorf.de X-HELO: mail-vk0-f68.google.com Received: from mail-vk0-f68.google.com (HELO mail-vk0-f68.google.com) (209.85.213.68) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 21 Apr 2017 19:10:53 +0000 Received: by mail-vk0-f68.google.com with SMTP id j127so2158649vkh.0 for ; Fri, 21 Apr 2017 12:10:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=jFEtQEFKOebTnuQVqqS8coDEUXfJc7hRwHvIBfUQOck=; b=si/8oPH84eEt748NBwcKU0JIiWIe4eeRUObfm+63ekZDXGYYlWi0zjIewg3dx+Rgic H+eiBKsT7PYosIDyB37iq1HfgQOuWstjXE3SYXnzH5T/okeKhuOvSLQqELYQT1YFA2gH u5m1alkAfYJdvlOPNyDgFWBGcj84g0CWb3PRMUzJD88JIPm6opDJd+hdHq+0mgSJR8xW oYesGSj3qgV8P1EuZuH3v5mg3wXgMD2h8POnILOsdVJZLTIy1QeChJYRtFYRc0E2Z7CW 6tGL1d3VHOJPlhbuAIwViFlxDedTYqL5e+6ppMvsUV3pC2OmnzHeKFH9YSZHhsWoxHdK pAXA== X-Gm-Message-State: AN3rC/47a+GJAJwqs1NCd0atkeb+8wYmCzXcKJY4s23MQ92qLLwlBXI8 h9pL47do8dB7ArDOZlgyLsG1RfleZ6zg X-Received: by 10.31.92.208 with SMTP id q199mr5168045vkb.99.1492801853219; Fri, 21 Apr 2017 12:10:53 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.49.206 with HTTP; Fri, 21 Apr 2017 12:10:52 -0700 (PDT) In-Reply-To: <20170421051547.GA18255@x4> References: <20170421051547.GA18255@x4> From: Uros Bizjak Date: Fri, 21 Apr 2017 19:27:00 -0000 Message-ID: Subject: Re: [PATCH, i386]: Fix PR79804, ICE in print_reg To: Markus Trippelsdorf Cc: "gcc-patches@gcc.gnu.org" Content-Type: multipart/mixed; boundary=001a114e1abc2f6e8a054db20480 X-SW-Source: 2017-04/txt/msg00962.txt.bz2 --001a114e1abc2f6e8a054db20480 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-length: 901 On Fri, Apr 21, 2017 at 7:15 AM, Markus Trippelsdorf wrote: > On 2017.04.20 at 22:29 +0200, Uros Bizjak wrote: >> >> PR target/79804 >> * gcc.target/i386/pr79804.c: New test. >> >> Bootstrapped and regression tested on x86_64-linux-gnu {,-m32}. >> >> Committed to mainline SVN. > > The test fails without optimizations: > > gcc/testsuite/gcc.target/i386/pr79804.c: In function =E2=80=98foo=E2=80= =99: > gcc/testsuite/gcc.target/i386/pr79804.c:10:1: error: frame cannot be used= in asm here > } > ^ > gcc/testsuite/gcc.target/i386/pr79804.c:9:3: error: invalid 'asm': invali= d use of register 'frame' > asm volatile ("# %0" : "=3Dr"(r20)); /* { dg-error "invalid use of re= gister" } */ > ^~~ Oops, fixed with attached patch. 2017-04-21 Uros Bizjak * gcc.target/i386/pr79804.c: Add additional dg-error directive. Thanks, Uros. --001a114e1abc2f6e8a054db20480 Content-Type: text/plain; charset=US-ASCII; name="t.diff.txt" Content-Disposition: attachment; filename="t.diff.txt" Content-Transfer-Encoding: base64 X-Attachment-Id: f_j1s7o96i0 Content-length: 574 ZGlmZiAtLWdpdCBhL2djYy90ZXN0c3VpdGUvZ2NjLnRhcmdldC9pMzg2L3By Nzk4MDQuYyBiL2djYy90ZXN0c3VpdGUvZ2NjLnRhcmdldC9pMzg2L3ByNzk4 MDQuYwppbmRleCA0MzI1MTMxLi5jN2RkYTY5IDEwMDY0NAotLS0gYS9nY2Mv dGVzdHN1aXRlL2djYy50YXJnZXQvaTM4Ni9wcjc5ODA0LmMKKysrIGIvZ2Nj L3Rlc3RzdWl0ZS9nY2MudGFyZ2V0L2kzODYvcHI3OTgwNC5jCkBAIC03LDQg KzcsNCBAQCB2b2lkIGZvbyAodm9pZCkKICAgcmVnaXN0ZXIgaW50IHIyMCBh c20gKCIyMCIpOwogCiAgIGFzbSB2b2xhdGlsZSAoIiMgJTAiIDogIj1yIihy MjApKTsgIC8qIHsgZGctZXJyb3IgImludmFsaWQgdXNlIG9mIHJlZ2lzdGVy IiB9ICovCi19Cit9ICAvKiB7IGRnLWVycm9yICJjYW5ub3QgYmUgdXNlZCBp biBhc20gaGVyZSIgfSAqLwo= --001a114e1abc2f6e8a054db20480--