From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 34452 invoked by alias); 13 Mar 2017 15:23:22 -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 33769 invoked by uid 89); 13 Mar 2017 15:23:21 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-6.9 required=5.0 tests=BAYES_00,GIT_PATCH_3,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:931 X-HELO: mx2.suse.de Received: from mx2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 13 Mar 2017 15:23:19 +0000 Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id DC573ABCD for ; Mon, 13 Mar 2017 15:23:17 +0000 (UTC) Resent-From: =?UTF-8?Q?Martin_Li=c5=a1ka?= Resent-To: GCC Patches Resent-Date: Mon, 13 Mar 2017 16:23:17 +0100 Resent-Message-ID: Resent-User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 Message-Id: From: marxin Date: Mon, 13 Mar 2017 15:23:00 -0000 Subject: [PATCH 0/3] Do not ICE on unsupported value of target attribute. To: gcc-patches@gcc.gnu.org X-IsSubscribed: yes X-SW-Source: 2017-03/txt/msg00656.txt.bz2 Hello. There are various targets that support target attribute. However do ICE when one passes a wrong value. I hope displaying an error message (similar to what we do on i386) is the proper thing. Apart from that, multiversioning should not rely on just target ifunc support. Patch can bootstrap on ppc64le-redhat-linux and survives regression tests. Tested with cross-compilers that it does not ICE any longer. Thanks, Martin marxin (3): Error message on target attribute on power target (PR target/79906) Error message on target attribute on aarch64 target (PR target/79889). Verify that target can create a dispatcher call (PR target/79892). gcc/config/aarch64/aarch64.c | 8 ++++++-- gcc/config/rs6000/rs6000.c | 5 ++++- gcc/multiple_target.c | 7 +++++++ gcc/testsuite/g++.dg/ext/mv8.C | 2 +- 4 files changed, 18 insertions(+), 4 deletions(-) -- 2.11.1