From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.7]) by sourceware.org (Postfix) with ESMTPS id C06BE3858D33; Tue, 9 Jan 2024 23:43:50 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C06BE3858D33 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=ecsmtp.sh.intel.com Authentication-Results: sourceware.org; spf=none smtp.mailfrom=ecsmtp.sh.intel.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org C06BE3858D33 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=192.198.163.7 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704843832; cv=none; b=Xoii/MvOBskIdN42sFlGSbJfGof8mVUREaehQ05Tq8+pGNkUBK8gFQG+D79yh22PZFe7z2R3e0LmeUUfWl1qoBOtsnhPhMzp3uxyPAzS4NVieWLsCQb760F6qTyRRjZiabO5GN2d+DDdXL94JLuIsC5bszrIs4NUZ1s/4aQ1dTY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704843832; c=relaxed/simple; bh=sUNY+p90Y9EXaLIm5FWG9pDo192m4oS95Z5qZuUr1e8=; h=From:Message-Id:Date:To:Subject; b=oG6edv7e3cwj4j/MnqZDs4xYuN8DB5jAA2H9L4dyq3lc71zHkCmheczKD2hOem5puGUJ/fIyaUnydVT41SJyOzTdiHEXr+r/R/eX2B/SK5O433yiar2o37vmfPH30welvCLdrQRbdjStt6oOa2GDva44lnXgsZZYqtSJIZZXywY= ARC-Authentication-Results: i=1; server2.sourceware.org X-IronPort-AV: E=McAfee;i="6600,9927,10947"; a="19855582" X-IronPort-AV: E=Sophos;i="6.04,184,1695711600"; d="scan'208";a="19855582" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmvoesa101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Jan 2024 15:43:49 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10947"; a="785413673" X-IronPort-AV: E=Sophos;i="6.04,184,1695711600"; d="scan'208";a="785413673" Received: from shvmail03.sh.intel.com ([10.239.245.20]) by fmsmga007.fm.intel.com with ESMTP; 09 Jan 2024 15:43:47 -0800 Received: from shliclel4214.sh.intel.com (shliclel4214.sh.intel.com [10.239.240.214]) by shvmail03.sh.intel.com (Postfix) with ESMTP id 7E922100569C; Wed, 10 Jan 2024 07:43:46 +0800 (CST) Received: from shliclel4214.sh.intel.com (localhost [127.0.0.1]) by shliclel4214.sh.intel.com (8.16.1/8.12.8/MailSET/client) with ESMTP id 409NhjP91672240; Wed, 10 Jan 2024 07:43:45 +0800 Received: (from haochenj@localhost) by shliclel4214.sh.intel.com (8.16.1/8.16.1/Submit) id 409Nhgv41672239; Wed, 10 Jan 2024 07:43:42 +0800 From: "haochen.jiang" Message-Id: <202401092343.409Nhgv41672239@shliclel4214.sh.intel.com> Date: Wed, 10 Jan 2024 07:43:42 +0800 To: julian@codesourcery.com, gcc-regression@gcc.gnu.org, gcc-patches@gcc.gnu.org, haochen.jiang@intel.com Subject: [r14-7033 Regression] FAIL: g++.dg/gomp/bad-array-section-4.C -std=c++98 at line 37 (test for warnings, line 35) on Linux/x86_64 User-Agent: s-nail v14.9.22 X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_00,KAM_DMARC_STATUS,KAM_LAZY_DOMAIN_SECURITY,KAM_NUMSUBJECT,SPF_HELO_NONE,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE 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: On Linux/x86_64, 1413af02d62182bc1e19698aaa4dae406f8f13bf is the first bad commit commit 1413af02d62182bc1e19698aaa4dae406f8f13bf Author: Julian Brown Date: Mon Sep 12 17:11:29 2022 +0000 OpenMP: lvalue parsing for map/to/from clauses (C++) caused FAIL: g++.dg/gomp/array-section-1.C -std=c++14 scan-tree-dump original "map\\(tofrom:arr1\\[SAVE_EXPR \\] \\[len: [0-9]+\\]\\) map\\(firstprivate:arr1 \\[pointer assign, bias: \\(long int\\) &arr1\\[SAVE_EXPR \\] - \\(long int\\) &arr1\\]\\)" FAIL: g++.dg/gomp/array-section-1.C -std=c++17 scan-tree-dump original "map\\(tofrom:arr1\\[SAVE_EXPR \\] \\[len: [0-9]+\\]\\) map\\(firstprivate:arr1 \\[pointer assign, bias: \\(long int\\) &arr1\\[SAVE_EXPR \\] - \\(long int\\) &arr1\\]\\)" FAIL: g++.dg/gomp/array-section-1.C -std=c++20 scan-tree-dump original "map\\(tofrom:arr1\\[SAVE_EXPR \\] \\[len: [0-9]+\\]\\) map\\(firstprivate:arr1 \\[pointer assign, bias: \\(long int\\) &arr1\\[SAVE_EXPR \\] - \\(long int\\) &arr1\\]\\)" FAIL: g++.dg/gomp/array-section-1.C -std=c++98 scan-tree-dump original "map\\(tofrom:arr1\\[SAVE_EXPR \\] \\[len: [0-9]+\\]\\) map\\(firstprivate:arr1 \\[pointer assign, bias: \\(long int\\) &arr1\\[SAVE_EXPR \\] - \\(long int\\) &arr1\\]\\)" FAIL: g++.dg/gomp/array-section-2.C -std=c++14 scan-tree-dump original "map\\(tofrom:arr1\\[SAVE_EXPR \\] \\[len: \\(40 - \\(sizetype\\) SAVE_EXPR \\) \\* [0-9]+\\]\\) map\\(firstprivate:arr1 \\[pointer assign, bias: \\(long int\\) &arr1\\[SAVE_EXPR \\] - \\(long int\\) &arr1\\]\\)" FAIL: g++.dg/gomp/array-section-2.C -std=c++14 scan-tree-dump original "map\\(tofrom:arr1\\[SAVE_EXPR \\] \\[len: \\(sizetype\\) y \\* [0-9]+\\]\\) map\\(firstprivate:arr1 \\[pointer assign, bias: \\(long int\\) &arr1\\[SAVE_EXPR \\] - \\(long int\\) &arr1\\]\\)" FAIL: g++.dg/gomp/array-section-2.C -std=c++17 scan-tree-dump original "map\\(tofrom:arr1\\[SAVE_EXPR \\] \\[len: \\(40 - \\(sizetype\\) SAVE_EXPR \\) \\* [0-9]+\\]\\) map\\(firstprivate:arr1 \\[pointer assign, bias: \\(long int\\) &arr1\\[SAVE_EXPR \\] - \\(long int\\) &arr1\\]\\)" FAIL: g++.dg/gomp/array-section-2.C -std=c++17 scan-tree-dump original "map\\(tofrom:arr1\\[SAVE_EXPR \\] \\[len: \\(sizetype\\) y \\* [0-9]+\\]\\) map\\(firstprivate:arr1 \\[pointer assign, bias: \\(long int\\) &arr1\\[SAVE_EXPR \\] - \\(long int\\) &arr1\\]\\)" FAIL: g++.dg/gomp/array-section-2.C -std=c++20 scan-tree-dump original "map\\(tofrom:arr1\\[SAVE_EXPR \\] \\[len: \\(40 - \\(sizetype\\) SAVE_EXPR \\) \\* [0-9]+\\]\\) map\\(firstprivate:arr1 \\[pointer assign, bias: \\(long int\\) &arr1\\[SAVE_EXPR \\] - \\(long int\\) &arr1\\]\\)" FAIL: g++.dg/gomp/array-section-2.C -std=c++20 scan-tree-dump original "map\\(tofrom:arr1\\[SAVE_EXPR \\] \\[len: \\(sizetype\\) y \\* [0-9]+\\]\\) map\\(firstprivate:arr1 \\[pointer assign, bias: \\(long int\\) &arr1\\[SAVE_EXPR \\] - \\(long int\\) &arr1\\]\\)" FAIL: g++.dg/gomp/array-section-2.C -std=c++98 scan-tree-dump original "map\\(tofrom:arr1\\[SAVE_EXPR \\] \\[len: \\(40 - \\(sizetype\\) SAVE_EXPR \\) \\* [0-9]+\\]\\) map\\(firstprivate:arr1 \\[pointer assign, bias: \\(long int\\) &arr1\\[SAVE_EXPR \\] - \\(long int\\) &arr1\\]\\)" FAIL: g++.dg/gomp/array-section-2.C -std=c++98 scan-tree-dump original "map\\(tofrom:arr1\\[SAVE_EXPR \\] \\[len: \\(sizetype\\) y \\* [0-9]+\\]\\) map\\(firstprivate:arr1 \\[pointer assign, bias: \\(long int\\) &arr1\\[SAVE_EXPR \\] - \\(long int\\) &arr1\\]\\)" FAIL: g++.dg/gomp/bad-array-section-4.C -std=c++14 at line 37 (test for warnings, line 35) FAIL: g++.dg/gomp/bad-array-section-4.C -std=c++17 at line 37 (test for warnings, line 35) FAIL: g++.dg/gomp/bad-array-section-4.C -std=c++20 at line 37 (test for warnings, line 35) FAIL: g++.dg/gomp/bad-array-section-4.C -std=c++98 at line 37 (test for warnings, line 35) with GCC configured with ../../gcc/configure --prefix=/export/users/haochenj/src/gcc-bisect/master/master/r14-7033/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="gomp.exp=g++.dg/gomp/array-section-1.C --target_board='unix{-m32}'" $ cd {build_dir}/gcc && make check RUNTESTFLAGS="gomp.exp=g++.dg/gomp/array-section-1.C --target_board='unix{-m32\ -march=cascadelake}'" $ cd {build_dir}/gcc && make check RUNTESTFLAGS="gomp.exp=g++.dg/gomp/array-section-2.C --target_board='unix{-m32}'" $ cd {build_dir}/gcc && make check RUNTESTFLAGS="gomp.exp=g++.dg/gomp/array-section-2.C --target_board='unix{-m32\ -march=cascadelake}'" $ cd {build_dir}/gcc && make check RUNTESTFLAGS="gomp.exp=g++.dg/gomp/bad-array-section-4.C --target_board='unix{-m32}'" $ cd {build_dir}/gcc && make check RUNTESTFLAGS="gomp.exp=g++.dg/gomp/bad-array-section-4.C --target_board='unix{-m32\ -march=cascadelake}'" (Please do not reply to this email, for question about this report, contact me at haochen dot jiang at intel.com.) (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.)