From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 68403 invoked by alias); 11 Aug 2016 10:02:42 -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 68388 invoked by uid 89); 11 Aug 2016 10:02:41 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.2 spammy=*comparison, Hx-exchange-antispam-report-cfa-test:6040171, H*c:HHH X-HELO: eu-smtp-delivery-143.mimecast.com Received: from eu-smtp-delivery-143.mimecast.com (HELO eu-smtp-delivery-143.mimecast.com) (207.82.80.143) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 11 Aug 2016 10:02:31 +0000 Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01lp0241.outbound.protection.outlook.com [213.199.154.241]) (Using TLS) by eu-smtp-1.mimecast.com with ESMTP id uk-mta-14-8N1HG3T_PxyGmAxdNVX8rg-1; Thu, 11 Aug 2016 11:02:25 +0100 Received: from AM4PR0802MB2163.eurprd08.prod.outlook.com (10.172.217.13) by AM4PR0802MB2162.eurprd08.prod.outlook.com (10.172.217.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.549.15; Thu, 11 Aug 2016 10:02:24 +0000 Received: from AM4PR0802MB2163.eurprd08.prod.outlook.com ([10.172.217.13]) by AM4PR0802MB2163.eurprd08.prod.outlook.com ([10.172.217.13]) with mapi id 15.01.0549.026; Thu, 11 Aug 2016 10:02:23 +0000 From: Bin Cheng To: "gcc-patches@gcc.gnu.org" CC: nd Subject: [PATCH AArch64]Fix spurious warning with explicit initialization Date: Thu, 11 Aug 2016 10:02:00 -0000 Message-ID: x-ms-office365-filtering-correlation-id: d825ee75-c7c2-4128-1b51-08d3c1ce9733 x-microsoft-exchange-diagnostics: 1;AM4PR0802MB2162;20:64hwAtQkSfMTZEEUQ+5ldIiKafTH4EdyhygGzOhL7Bks2ZYbmgYUsF3LU357yFA5r4FHEbzckBdXf/aeS2ntDuBOGJrkAmeSs/Dr3NcwJ7lhLLPs4cTN01G80RU2EiiSs+cR+NKwT2bBbnr8EN5hA42XVJK3GjvasKZgfZkxkMo= x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:AM4PR0802MB2162; nodisclaimer: True x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(180628864354917); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(102415321)(6040171)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(6055026);SRVR:AM4PR0802MB2162;BCL:0;PCL:0;RULEID:;SRVR:AM4PR0802MB2162; x-forefront-prvs: 0031A0FFAF x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(6009001)(7916002)(199003)(189002)(377424004)(106356001)(106116001)(81156014)(33656002)(105586002)(8676002)(122556002)(10400500002)(3660700001)(66066001)(2900100001)(110136002)(19580395003)(92566002)(8936002)(2351001)(305945005)(229853001)(19580405001)(3846002)(97736004)(6116002)(586003)(81166006)(102836003)(5002640100001)(450100001)(2906002)(68736007)(99936001)(189998001)(76576001)(87936001)(4326007)(9686002)(74316002)(101416001)(86362001)(3280700002)(50986999)(7696003)(2501003)(7736002)(7846002)(77096005)(54356999);DIR:OUT;SFP:1101;SCL:1;SRVR:AM4PR0802MB2162;H:AM4PR0802MB2163.eurprd08.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Aug 2016 10:02:23.0912 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR0802MB2162 X-MC-Unique: 8N1HG3T_PxyGmAxdNVX8rg-1 Content-Type: multipart/mixed; boundary="_002_AM4PR0802MB21635AE101D23A3A19A5E85AE71E0AM4PR0802MB2163_" X-IsSubscribed: yes X-SW-Source: 2016-08/txt/msg00895.txt.bz2 --_002_AM4PR0802MB21635AE101D23A3A19A5E85AE71E0AM4PR0802MB2163_ Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Content-length: 425 Hi, GCC gives spurious -Wmaybe-uninitialized message which breaks bootstrap. T= his patch fixes it by explicitly initializing. Also I file PR72355 in orde= r to tracking the wrong warning message. Compilation log checked. Applied as obvious. Thanks, bin 2016-08-11 Bin Cheng * config/aarch64/aarch64-simd.md (vec_cmp: Init variable explicitly, also assert on it before use.= --_002_AM4PR0802MB21635AE101D23A3A19A5E85AE71E0AM4PR0802MB2163_ Content-Type: text/plain; name=fix-spurious-warning-msg.txt Content-Description: fix-spurious-warning-msg.txt Content-Disposition: attachment; filename="fix-spurious-warning-msg.txt"; size=939; creation-date="Thu, 11 Aug 2016 10:01:58 GMT"; modification-date="Thu, 11 Aug 2016 10:01:58 GMT" Content-Transfer-Encoding: base64 Content-length: 1273 ZGlmZiAtLWdpdCBhL2djYy9jb25maWcvYWFyY2g2NC9hYXJjaDY0LXNpbWQu bWQgYi9nY2MvY29uZmlnL2FhcmNoNjQvYWFyY2g2NC1zaW1kLm1kCmluZGV4 IDM3ZDM5N2MuLjM4MTc4OTUgMTAwNjQ0Ci0tLSBhL2djYy9jb25maWcvYWFy Y2g2NC9hYXJjaDY0LXNpbWQubWQKKysrIGIvZ2NjL2NvbmZpZy9hYXJjaDY0 L2FhcmNoNjQtc2ltZC5tZApAQCAtMjQxMyw3ICsyNDEzLDcgQEAKICAgZW51 bSBydHhfY29kZSBjb2RlID0gR0VUX0NPREUg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