From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg1-x52b.google.com (mail-pg1-x52b.google.com [IPv6:2607:f8b0:4864:20::52b]) by sourceware.org (Postfix) with ESMTPS id 887493858D38; Mon, 11 Sep 2023 17:28:09 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 887493858D38 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pg1-x52b.google.com with SMTP id 41be03b00d2f7-56b0c5a140dso4020425a12.0; Mon, 11 Sep 2023 10:28:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694453288; x=1695058088; darn=gcc.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=hd3wk5qJyfH+j/JdZqi17xoWwgcnzH52oNalYrcDh7o=; b=UMq1N/R/g3qqDHMUPPIpMQEEumVOUL66U/7I/1RpVVzeqJOZjYkXeaUb4dUX01Nj+d wUifzQevR5s34VI1uTiHYsAgeCypyjUDCnzXx7orMaDuV4o01NkHs9du8in1G7e+Qemk 9K5JWWF5MW5efh3o6iYtqbw5d/oEKngrtYZrcmm4SvYKtEI4wTXxzmGrdbszUelf1hAi CWuUpW/EGPJLDBjGgJYHAFmclwcWsxpvBDTrokhM5jHRDp1fi0VhLCvWGBpYy+jtCL1r 2rLAAngR9sOFsobadL0XGrz7+NvZaKhpUdF/QvVJ/13ZobgfYsI5zSaNQGT1UmFUMO8f y2iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694453288; x=1695058088; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=hd3wk5qJyfH+j/JdZqi17xoWwgcnzH52oNalYrcDh7o=; b=DLa3NYa+fMRTm7ref9ZrxpByQzHSadsyTjIWwtol4C7GzlTZNxOfxL6jTp7htmG1Iu zmp4XOqtIfn642wxII3pEDZ0TEdpfBgbh63p0dtSY4SVJqFlZQ/1dL1woI+RJKyqGEbl dH05hQbTSIyP+Ih3riTckxJKmWJX9tG/agdOSZPiLqMmdrOaIdbkmASSPWusYvo/bM1t j/uss//fVBfOXFoRchrUfLDdYrcgfFlMJMnIGBmWIvAEMHi6gVEfsTzvwERjPcoBbpJn kMTy6p0ktI3xGTjAblqPGvCxhwDjz2F8to0SBpSJBN8qJZte2UDrTfDcnGDWGWtLE0mU cFPQ== X-Gm-Message-State: AOJu0YyoCNScljQUmtiKzHVJ6+ljoUWs3mmMxwR5XQHHkCZJ+kf1GCrt GmjOwhonDGJRTSlVGHoyYw0+UHFQzGOwUAn1rsu3nQA0HA== X-Google-Smtp-Source: AGHT+IFgQ4IdrZ2qsctRiTCErqB4kgVdECYrHkGNiABK5fUhDqsu2Eq1ej09IIa3lgoFDm3sWCiMwSuWnrhLnB8mIEE= X-Received: by 2002:a17:90a:4982:b0:267:70a8:abff with SMTP id d2-20020a17090a498200b0026770a8abffmr9279636pjh.29.1694453288581; Mon, 11 Sep 2023 10:28:08 -0700 (PDT) MIME-Version: 1.0 References: <202309092344.389NiSeQ3407880@shliclel4214.sh.intel.com> In-Reply-To: From: Benjamin Priour Date: Mon, 11 Sep 2023 19:27:57 +0200 Message-ID: Subject: Re: [r14-3823 Regression] FAIL: c-c++-common/analyzer/compound-assignment-1.c -std=c++98 (test for warnings, line 72) on Linux/x86_64 To: "Jiang, Haochen" Cc: "vultkayn@gcc.gnu.org" , "gcc-regression@gcc.gnu.org" , "gcc-patches@gcc.gnu.org" Content-Type: multipart/alternative; boundary="0000000000005ac038060518a695" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --0000000000005ac038060518a695 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, Thanks for the report, After investigation it seems the location of the new dejagnu directive for C++ differs depending on the configuration. The expected warning is still emitted, but its location differ slightly. I expect it to be not an issue per se of the analyzer, but a divergence in the FE between the two configurations. Need further investigation. Best, Benjamin. On Mon, Sep 11, 2023 at 10:03=E2=80=AFAM Jiang, Haochen wrote: > On Linux/x86_64, > > 50b5199cff690891726877e1c00ac53dfb7cc1c8 is the first bad commit > commit 50b5199cff690891726877e1c00ac53dfb7cc1c8 > Author: benjamin priour > Date: Sat Sep 9 18:03:56 2023 +0200 > > analyzer: Move gcc.dg/analyzer tests to c-c++-common (2) [PR96395] > > caused > > FAIL: c-c++-common/analyzer/compound-assignment-1.c -std=3Dc++14 (test f= or > excess errors) > FAIL: c-c++-common/analyzer/compound-assignment-1.c -std=3Dc++14 (test = for > warnings, line 72) > FAIL: c-c++-common/analyzer/compound-assignment-1.c -std=3Dc++17 (test f= or > excess errors) > FAIL: c-c++-common/analyzer/compound-assignment-1.c -std=3Dc++17 (test = for > warnings, line 72) > FAIL: c-c++-common/analyzer/compound-assignment-1.c -std=3Dc++20 (test f= or > excess errors) > FAIL: c-c++-common/analyzer/compound-assignment-1.c -std=3Dc++20 (test = for > warnings, line 72) > FAIL: c-c++-common/analyzer/compound-assignment-1.c -std=3Dc++98 (test f= or > excess errors) > FAIL: c-c++-common/analyzer/compound-assignment-1.c -std=3Dc++98 (test = for > warnings, line 72) > > with GCC configured with > > ../../gcc/configure > --prefix=3D/export/users/haochenj/src/gcc-bisect/master/master/r14-3823/u= sr > --enable-clocale=3Dgnu --with-system-zlib --with-demangler-in-ld > --with-fpmath=3Dsse --enable-languages=3Dc,c++,fortran --enable-cet > --without-isl --enable-libmpx x86_64-linux --disable-bootstrap > > To reproduce: > > $ cd {build_dir}/gcc && make check > RUNTESTFLAGS=3D"analyzer.exp=3Dc-c++-common/analyzer/compound-assignment-= 1.c > --target_board=3D'unix{-m32}'" > $ cd {build_dir}/gcc && make check > RUNTESTFLAGS=3D"analyzer.exp=3Dc-c++-common/analyzer/compound-assignment-= 1.c > --target_board=3D'unix{-m32\ -march=3Dcascadelake}'" > > (If you met problems with cascadelake related, disabling AVX512F in > command line might save that.) > (However, please make sure that there is no potential problems with > AVX512.) > --0000000000005ac038060518a695--