From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi1-x22f.google.com (mail-oi1-x22f.google.com [IPv6:2607:f8b0:4864:20::22f]) by sourceware.org (Postfix) with ESMTPS id 167AB38515D6; Fri, 9 Jul 2021 17:42:08 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 167AB38515D6 Received: by mail-oi1-x22f.google.com with SMTP id a189so2877440oii.2; Fri, 09 Jul 2021 10:42:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=dNrzURutGUcnWSigTbUO6kOL7e0/B+886AQ/PN0EOAY=; b=pNNjihF1e0NvajWJkL7ZpwqzjuFlfruZXY98of0auxV6VWygiwjHnAy3lPhXwrrdQ9 VazaGQes3dejqGDPRhfB1+SxFlsdOpJg16zzz/nJnHHh116pe/tRQ1bV+VUIGAFPwzJe 8XKG4O+mhXHJdb1IjRgarK6fzIzFr+u/cSnSB6CrCZApk2TqLF6ARDCtQyv2e6X590fe /zf5S0J3lVbCZIYNQC2rfsjr4J8dV/1RkN70lZloqRQythG/ztzrOxMbVmWeb9GkEjf/ ZsD+tPivxWFrCqcA+IUyKQJQKWKi7Fcehzvsfto8/mRRCwbQap/iYdS/G4+BmhVX6xLM 1Yug== X-Gm-Message-State: AOAM533X0Db+JutdKAWFGrCwOms5+quEU906FuCEO9tplKvW/QLt2iV4 tTwlN6IS/IZdaedGfJA7n2JY18/5tmg= X-Google-Smtp-Source: ABdhPJyperTnFsd461N31iiwVEp+F7hk/4ql3tQ7Q45c9kNAh56FWZKV/M7+4joZPGndQgfffTCh6g== X-Received: by 2002:a05:6808:200d:: with SMTP id q13mr28989046oiw.24.1625852527390; Fri, 09 Jul 2021 10:42:07 -0700 (PDT) Received: from [192.168.0.41] (75-166-102-22.hlrn.qwest.net. [75.166.102.22]) by smtp.gmail.com with ESMTPSA id d18sm1314738otc.40.2021.07.09.10.42.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 09 Jul 2021 10:42:07 -0700 (PDT) Subject: Re: [r12-2132 Regression] FAIL: g++.dg/warn/Warray-bounds-20.C -std=gnu++98 note (test for warnings, line 55) on Linux/x86_64 To: Maxim Kuvyrkov , msebor@redhat.com Cc: gcc-regression@gcc.gnu.org, gcc-patches References: <20210708233529.E81612864701@gskx-2.sc.intel.com> <857B7488-B11A-4245-8F31-C60E2ABFCB12@linaro.org> From: Martin Sebor Message-ID: <1dccb30e-d1a3-e0a6-6471-0c6903ff0080@gmail.com> Date: Fri, 9 Jul 2021 11:42:05 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: <857B7488-B11A-4245-8F31-C60E2ABFCB12@linaro.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_NUMSUBJECT, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-regression@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-regression mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jul 2021 17:42:09 -0000 On 7/9/21 2:16 AM, Maxim Kuvyrkov via Gcc-patches wrote: >> On 9 Jul 2021, at 02:35, sunil.k.pandey via Gcc-patches wrote: >> >> On Linux/x86_64, >> >> a110855667782dac7b674d3e328b253b3b3c919b is the first bad commit >> commit a110855667782dac7b674d3e328b253b3b3c919b >> Author: Martin Sebor >> Date: Wed Jul 7 14:05:25 2021 -0600 >> >> Correct handling of variable offset minus constant in -Warray-bounds [PR100137] >> >> caused > > Hi Martin, > > I see these failing on aarch64-linux-gnu as well: > >> >> FAIL: gcc.dg/Wstringop-overflow-47.c pr97027 (test for warnings, line 34) >> FAIL: gcc.dg/Wstringop-overflow-47.c pr97027 (test for warnings, line 37) >> FAIL: gcc.dg/Wstringop-overflow-47.c pr97027 (test for warnings, line 42) Thanks. It looks like I removed the xfails a little bit too indiscriminately. The test passes with an x84_64 compiler but the aarch64 IL still isn't handled. Let me take care of that. > > > FWIW, I don’t see these on aarch64-linux-gnu: Good! :) I fixed these problems just yesterday. Martin > >> FAIL: g++.dg/warn/Warray-bounds-20.C -std=gnu++14 note (test for warnings, line 38) >> FAIL: g++.dg/warn/Warray-bounds-20.C -std=gnu++14 note (test for warnings, line 55) >> FAIL: g++.dg/warn/Warray-bounds-20.C -std=gnu++17 note (test for warnings, line 38) >> FAIL: g++.dg/warn/Warray-bounds-20.C -std=gnu++17 note (test for warnings, line 55) >> FAIL: g++.dg/warn/Warray-bounds-20.C -std=gnu++2a note (test for warnings, line 38) >> FAIL: g++.dg/warn/Warray-bounds-20.C -std=gnu++2a note (test for warnings, line 55) >> FAIL: g++.dg/warn/Warray-bounds-20.C -std=gnu++98 note (test for warnings, line 38) >> FAIL: g++.dg/warn/Warray-bounds-20.C -std=gnu++98 note (test for warnings, line 55) > > > -- > Maxim Kuvyrkov > https://www.linaro.org > > >> >> with GCC configured with >> >> ../../gcc/configure --prefix=/local/skpandey/gccwork/toolwork/gcc-bisect-master/master/r12-2132/usr --enable-clocale=gnu --with-system-zlib --with-demangler-in-ld --with-fpmath=sse --enable-languages=c,c++,fortran --enable-cet --without-isl --enable-libmpx x86_64-linux --disable-bootstrap >> >> To reproduce: >> >> $ cd {build_dir}/gcc && make check RUNTESTFLAGS="dg.exp=gcc.dg/Wstringop-overflow-47.c --target_board='unix{-m32\ -march=cascadelake}'" >> $ cd {build_dir}/gcc && make check RUNTESTFLAGS="dg.exp=gcc.dg/Wstringop-overflow-47.c --target_board='unix{-m64\ -march=cascadelake}'" >> $ cd {build_dir}/gcc && make check RUNTESTFLAGS="dg.exp=g++.dg/warn/Warray-bounds-20.C --target_board='unix{-m32}'" >> $ cd {build_dir}/gcc && make check RUNTESTFLAGS="dg.exp=g++.dg/warn/Warray-bounds-20.C --target_board='unix{-m32\ -march=cascadelake}'" >> >> (Please do not reply to this email, for question about this report, contact me at skpgkp2 at gmail dot com) >