From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8623 invoked by alias); 8 Aug 2014 00:30:16 -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 8594 invoked by uid 89); 8 Aug 2014 00:30:11 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 08 Aug 2014 00:30:10 +0000 Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1XFY4L-0005pV-Hv from Janis_Johnson@mentor.com for gcc-patches@gcc.gnu.org; Thu, 07 Aug 2014 17:30:05 -0700 Received: from SVR-ORW-FEM-02.mgc.mentorg.com ([147.34.96.206]) by svr-orw-fem-01.mgc.mentorg.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Thu, 7 Aug 2014 17:30:05 -0700 Received: from [127.0.0.1] (147.34.91.1) by svr-orw-fem-02.mgc.mentorg.com (147.34.96.168) with Microsoft SMTP Server id 14.2.247.3; Thu, 7 Aug 2014 17:30:04 -0700 Message-ID: <53E41A0D.6020500@mentor.com> Date: Fri, 08 Aug 2014 00:30:00 -0000 From: Janis Johnson Reply-To: User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: "gcc-patches@gcc.gnu.org" Subject: [testsuite patch] add code to arm_thumbX_ok to exercise ABI Content-Type: multipart/mixed; boundary="------------080409000505010105000803" X-SW-Source: 2014-08/txt/msg00863.txt.bz2 --------------080409000505010105000803 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-length: 600 Running an arm-none-eabi test that adds "-mthumb" for a multilib that uses "-march=armv5te -mfloat-abi=hard" works fine if the test doesn't have any calls, but if it does then the effective-target checks for arm_thumb1_ok and arm_thumb2_ok pass but the test's compile step fails with "sorry, unimplemented: Thumb-1 hard-float VFP ABI". This patch adds code to those effective-target checks to exercise argument handling and causes them to fail for the multilib flags listed above. Tested by running gcc.target/arm tests with a variety of multilib flags. OK for mainline and the 4.9 branch? Janis --------------080409000505010105000803 Content-Type: text/plain; charset="UTF-8"; name="gcc-20140807-1" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="gcc-20140807-1" Content-length: 1017 MjAxNC0wOC0wNyAgSmFuaXMgSm9obnNvbiAgPGphbmlzam9AY29kZXNvdXJj ZXJ5LmNvbT4KCgkqIGxpYi90YXJnZXQtc3VwcG9ydHMuZXhwIChjaGVja19l ZmZlY3RpdmVfdGFyZ2V0X2FybV90aHVtYjFfb2ssCgljaGVja19lZmZlY3Rp dmVfdGFyZ2V0X2FybV90aHVtYjJfb2spOiBUZXN0IHdpdGggY29kZSB0aGF0 IHBhc3NlcwoJYW4gYXJndW1lbnQgYW5kIHJldHVybnMgYSByZXN1bHQuCgpJ bmRleDogZ2NjL3Rlc3RzdWl0ZS9saWIvdGFyZ2V0LXN1cHBvcnRzLmV4cAo9 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09Ci0tLSBnY2MvdGVzdHN1aXRlL2xpYi90 YXJnZXQtc3VwcG9ydHMuZXhwCShyZXZpc2lvbiAyMTM2ODMpCisrKyBnY2Mv dGVzdHN1aXRlL2xpYi90YXJnZXQtc3VwcG9ydHMuZXhwCSh3b3JraW5nIGNv cHkpCkBAIC0yNzYxLDYgKzI3NjEsNyBAQAogCSNpZiAhZGVmaW5lZChfX2Fy bV9fKSB8fCAhZGVmaW5lZChfX3RodW1iX18pIHx8IGRlZmluZWQoX190aHVt YjJfXykKIAkjZXJyb3IgRk9PCiAJI2VuZGlmCisJaW50IGZvbyAoaW50IGkp IHsgcmV0dXJuIGk7IH0KICAgICB9ICItbXRodW1iIl0KIH0KIApAQCAtMjc3 Miw2ICsyNzczLDcgQEAKIAkjaWYgIWRlZmluZWQoX190aHVtYjJfXykKIAkj ZXJyb3IgRk9PCiAJI2VuZGlmCisJaW50IGZvbyAoaW50IGkpIHsgcmV0dXJu IGk7IH0KICAgICB9ICItbXRodW1iIl0KIH0KIAo= --------------080409000505010105000803--