From patchwork Mon Oct 16 13:27:34 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wilco Dijkstra X-Patchwork-Id: 826298 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-464267-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="CChx1tnX"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3yFzdw4Sgzz9t3R for ; Tue, 17 Oct 2017 00:27:48 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id:content-type :content-transfer-encoding:mime-version; q=dns; s=default; b=d+n iFKMBqkTpUmyWDuNCqhkeGJA7/d6v3CFtqGIpYehHLyi7zHEX3aia6w9B2+jcOoL xUbfP9W9AupiLF9JVTQXDiRaZ2EftZiBIMbx3MiN1b22K+tCYCyq+dXjOCJZOHX3 jWOSL1fPQCLploCGC+Wz4IrLWUXjmNqK5idL1q1g= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id:content-type :content-transfer-encoding:mime-version; s=default; bh=QSvtypSpn jV2iGkV4kSsq0W3xao=; b=CChx1tnXNypJKj6zuqspHOaEeeIBgkh5ru2P54p// K5Wf2UaJI5cjZ6BwlcYQjYXVhFVlzzlbih9OGZOPnIv10ahMQCOgJ4sH9A/PYuie /tCIscYD5XVaNoO1FBPfkGiPVnlgzfqit5oKv+pLno5paldmYdhUfzENNgMc2xqm S4= Received: (qmail 103097 invoked by alias); 16 Oct 2017 13:27:40 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 101940 invoked by uid 89); 16 Oct 2017 13:27:39 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-25.1 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: EUR02-AM5-obe.outbound.protection.outlook.com Received: from mail-eopbgr00065.outbound.protection.outlook.com (HELO EUR02-AM5-obe.outbound.protection.outlook.com) (40.107.0.65) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 16 Oct 2017 13:27:38 +0000 Received: from DB6PR0801MB2053.eurprd08.prod.outlook.com (10.168.86.22) by DB6PR0801MB2053.eurprd08.prod.outlook.com (10.168.86.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.77.7; Mon, 16 Oct 2017 13:27:35 +0000 Received: from DB6PR0801MB2053.eurprd08.prod.outlook.com ([fe80::4106:9fa0:b29a:d31e]) by DB6PR0801MB2053.eurprd08.prod.outlook.com ([fe80::4106:9fa0:b29a:d31e%18]) with mapi id 15.20.0077.022; Mon, 16 Oct 2017 13:27:35 +0000 From: Wilco Dijkstra To: GCC Patches CC: nd Subject: [Committed][testsuite] Fix PR82442 Date: Mon, 16 Oct 2017 13:27:34 +0000 Message-ID: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Wilco.Dijkstra@arm.com; x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB6PR0801MB2053; 6:+/Bq3TJ3Uvi86yy3f+6MwcyAwmFk1gVX0jhecDt+NUh24wYOXDuCsekj1L9TbG+ChHfdG/8Upju+FUr8w9ya5BHSNc0d/1KoX8z5Hbx985DuxgP+QAma8OSxtDE2Trkq2P8aKVXuRQvIpjP7gcAJqBufqFKMvs0RAlj67HjMPmBsGWn5ih4xyby45JTg7tdffbRRmOFJs7L7Z7LzF4kHaOmXYl4DwJxWWjlrFPOMyOXlibwTtpxnvWLTFLbVGdkcpg8fSgMdCkGdogkjz8WC+zK2MLI8XfkiiLbGw4sq9mBGMv0KSh714l6fV5RCX4f2bk3PCJeKEpXehSsWNVyj1A==; 5:wp3KHmFBnThAz1BMZOzh5Aqn0o1dbdodn8RrdJW5bqKpXJPWTnrPqj/UAPSYyizNXhc2RRNspq4kzTWkL9AB/BwLq1HVBGjxrS6GcXGYlLXUZJIRiF6vr3XDYpae7ZwqRDt5bhPwZnEQJ7ZzGrx2Kg==; 24:bPPE3U5mIM4LNLr/S1y32sAzq0aISm9YrXpggANr5Lwwa89oEsKLALh7KqrGbuadUDVfNtBa3hRfWRYPrt7gP8+poMO1J+gPv2VvG0MWHnk=; 7:kbwUuquKfbOW5Soij/mxZFyEqkYKG5M/bSmRtvo5mqAov+b/7l0c8Om/JOWq63/QMm81hFLSBGVEJWuhmwYODLctZhnbdidyE8zu1xgLSgQ7+EEFHrzws3n+3Gwb0IP4TnkuE3O87negqjdpZ/eHba13DuWCnJm6qSqf8yK0WSK8TLFCsJ60uM45KyRbEa+lyEufCr5Suw6iQCS5vropl1vs+8XIaZ61CnG5yRIQLPQ= x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-correlation-id: 7525435d-ce74-4601-d01c-08d51499a993 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254152)(48565401081)(2017052603199)(201703131423075)(201703031133081)(201702281549075); SRVR:DB6PR0801MB2053; x-ms-traffictypediagnostic: DB6PR0801MB2053: nodisclaimer: True x-exchange-antispam-report-test: UriScan:(180628864354917); x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(5005006)(8121501046)(3002001)(10201501046)(100000703101)(100105400095)(93006095)(93001095)(6055026)(6041248)(20161123558100)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123555025)(20161123560025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DB6PR0801MB2053; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DB6PR0801MB2053; x-forefront-prvs: 0462918D61 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(346002)(39860400002)(376002)(189002)(199003)(377424004)(54534003)(305945005)(66066001)(86362001)(575784001)(7736002)(55016002)(74316002)(54356999)(81156014)(50986999)(2900100001)(81166006)(8676002)(7696004)(4326008)(9686003)(102836003)(6116002)(8936002)(68736007)(53936002)(106356001)(5660300001)(3846002)(99286003)(105586002)(6436002)(3280700002)(478600001)(4001150100001)(2906002)(97736004)(3660700001)(33656002)(72206003)(316002)(6916009)(5250100002)(101416001)(25786009)(14454004)(189998001)(6506006); DIR:OUT; SFP:1101; SCL:1; SRVR:DB6PR0801MB2053; H:DB6PR0801MB2053.eurprd08.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Oct 2017 13:27:34.9131 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0801MB2053 Recently the gcc.dg/vect/pr31699.c was modified to check for vect_float effective target instead for vect_double. As a result it now fails on armhf. Fix by avoiding double. Tested on armhf, aarch64 and x64. Committed as trivial. ChangeLog: 2017-10-16 Wilco Dijkstra gcc/testsuite/ PR target/82442 * gcc.dg/vect/pr31699.c: Fix testcase. diff --git a/gcc/testsuite/gcc.dg/vect/pr31699.c b/gcc/testsuite/gcc.dg/vect/pr31699.c index 7ec4dfe770a8ce0f98c6ff46e6f301e88b63fc0e..b0b9971fcfc9f6f90ccef7bf1de10fd109c3d07b 100644 --- a/gcc/testsuite/gcc.dg/vect/pr31699.c +++ b/gcc/testsuite/gcc.dg/vect/pr31699.c @@ -7,9 +7,9 @@ float x[256]; __attribute__ ((noinline)) -double *foo(void) +float *foo(void) { - double *z = malloc (sizeof(double) * 256); + float *z = malloc (sizeof(float) * 256); int i; for (i=0; i<256; ++i)