From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 70578 invoked by alias); 18 Jan 2019 12:25:07 -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 70011 invoked by uid 89); 18 Jan 2019 12:24:51 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-5.9 required=5.0 tests=BAYES_00,GIT_PATCH_2,KAM_LAZY_DOMAIN_SECURITY autolearn=ham version=3.3.2 spammy=sk:ia64su, sk:ia64-su X-HELO: smtp.CeBiTec.Uni-Bielefeld.DE Received: from smtp.CeBiTec.Uni-Bielefeld.DE (HELO smtp.CeBiTec.Uni-Bielefeld.DE) (129.70.160.84) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 18 Jan 2019 12:24:49 +0000 Received: from localhost (localhost.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id 169A7153; Fri, 18 Jan 2019 13:24:45 +0100 (CET) Received: from smtp.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (malfoy.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Gl25jkBTjkuA; Fri, 18 Jan 2019 13:24:43 +0100 (CET) Received: from lokon.CeBiTec.Uni-Bielefeld.DE (lokon.CeBiTec.Uni-Bielefeld.DE [129.70.161.152]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPS id 56045152; Fri, 18 Jan 2019 13:24:43 +0100 (CET) Received: (from ro@localhost) by lokon.CeBiTec.Uni-Bielefeld.DE (8.15.2+Sun/8.15.2/Submit) id x0ICOfRu017012; Fri, 18 Jan 2019 13:24:41 +0100 (MET) From: Rainer Orth To: Christophe Lyon Cc: Martin Sebor , Jeff Law , Richard Biener , "gcc-patches\@gcc.gnu.org" Subject: Re: [PATCH] avoid issuing -Warray-bounds during folding (PR 88800) References: <37e931ad-17de-552e-8c96-854233884e6a@gmail.com> <76eda7b0-f5d6-9312-63ea-a344949689e6@gmail.com> <7c0a5eb6-05de-1593-87d4-7944ce968e06@redhat.com> <88fa8db6-c4f6-9c01-f93b-5dd2d4b96b48@gmail.com> Date: Fri, 18 Jan 2019 12:25:00 -0000 In-Reply-To: (Christophe Lyon's message of "Fri, 18 Jan 2019 10:35:41 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain X-IsSubscribed: yes X-SW-Source: 2019-01/txt/msg01068.txt.bz2 Hi Christophe, > After your commit (r268037), I'm seeing excess errors on some arm targets: > FAIL: c-c++-common/Wrestrict.c -Wc++-compat (test for excess errors) > Excess errors: > /gcc/testsuite/c-c++-common/Wrestrict.c:195:3: warning: 'memcpy' > accessing 4 bytes at offsets [2, 3] and 0 overlaps between 1 and 2 > bytes at offset [2, 3] [-Wrestrict] > /gcc/testsuite/c-c++-common/Wrestrict.c:202:3: warning: 'memcpy' > accessing 4 bytes at offsets [2, 3] and 0 overlaps between 1 and 2 > bytes at offset [2, 3] [-Wrestrict] > /gcc/testsuite/c-c++-common/Wrestrict.c:207:3: warning: 'memcpy' > accessing 4 bytes at offsets [2, 3] and 0 overlaps between 1 and 2 > bytes at offset [2, 3] [-Wrestrict] I'm seeing the same on sparc-sun-solaris2.*, both 32 and 64-bit. Test results for x86_64-w64-mingw32 and ia64-suse-linux-gnu show the same failure. Besides (and probably caused by the same revision), I now get +XPASS: c-c++-common/Warray-bounds-3.c -std=gnu++14 bug (test for warnings, line 161) +XPASS: c-c++-common/Warray-bounds-3.c -std=gnu++17 bug (test for warnings, line 161) +XPASS: c-c++-common/Warray-bounds-3.c -std=gnu++98 bug (test for warnings, line 161) +XPASS: c-c++-common/Warray-bounds-3.c -Wc++-compat bug (test for warnings, line 161) which is also seen on ia64-suse-linux-gnu. Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University