From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 82073 invoked by alias); 14 Mar 2016 22:13:45 -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 82058 invoked by uid 89); 14 Mar 2016 22:13:44 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=formatting, Hx-languages-length:962, tabs X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Mon, 14 Mar 2016 22:13:43 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (Postfix) with ESMTPS id BE043811CA; Mon, 14 Mar 2016 22:13:41 +0000 (UTC) Received: from tucnak.zalov.cz (ovpn-113-25.phx2.redhat.com [10.3.113.25]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u2EMDeV1021367 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 14 Mar 2016 18:13:41 -0400 Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.15.2/8.15.2) with ESMTP id u2EMDbQK026917; Mon, 14 Mar 2016 23:13:38 +0100 Received: (from jakub@localhost) by tucnak.zalov.cz (8.15.2/8.15.2/Submit) id u2EMDarO026916; Mon, 14 Mar 2016 23:13:36 +0100 Date: Mon, 14 Mar 2016 22:13:00 -0000 From: Jakub Jelinek To: Martin Sebor Cc: Gcc Patch List , Jason Merrill , Marek Polacek Subject: Re: [PATCH] c++/67376 Comparison with pointer to past-the-end, of array fails inside constant expression Message-ID: <20160314221336.GR3017@tucnak.redhat.com> Reply-To: Jakub Jelinek References: <56E72C33.8000301@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56E72C33.8000301@gmail.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-IsSubscribed: yes X-SW-Source: 2016-03/txt/msg00802.txt.bz2 On Mon, Mar 14, 2016 at 03:25:07PM -0600, Martin Sebor wrote: > PR c++/67376 - [5/6 regression] Comparison with pointer to past-the-end > of array fails inside constant expression > PR c++/70170 - [6 regression] bogus not a constant expression error comparing > pointer to array to null > PR c++/70172 - incorrect reinterpret_cast from integer to pointer error > on invalid constexpr initialization > PR c++/60760 - arithmetic on null pointers should not be allowed in constant > expressions > PR c++/70228 - insufficient detail in diagnostics for a constexpr out of bounds > array subscript Can you please check up the formatting in the patch? Seems e.g. you've replaced tons of tabs with 8 spaces etc. (check your editor setting, and check the patch with contrib/check-GNU-style.sh). There is some trailing whitespace too, spaces before [, etc. Jakub