[r16-7481 Regression] FAIL: libgomp.c++/target-6.C execution test on Linux/x86_64

Haochen Jiang via Gcc-regression <[email protected]>
Newsgroups gmane.comp.gcc.regression,gmane.comp.gcc.patches
Message-ID <[email protected]>
On Linux/x86_64,

6eec7a3687aa8195eaf6b7f6694b50ece17590c5 is the first bad commit
commit 6eec7a3687aa8195eaf6b7f6694b50ece17590c5
Author: Kwok Cheung Yeung <[email protected]>
Date:   Thu Feb 12 14:48:03 2026 +0000

    openmp: Allocate memory for private/firstprivate clauses as directed by allocate clauses in target constructs [PR113436]

caused

FAIL: c-c++-common/gomp/pr113436-1.c  -std=gnu++20 (test for excess errors)
FAIL: c-c++-common/gomp/pr113436-1.c  -std=gnu++26 (test for excess errors)
FAIL: c-c++-common/gomp/pr113436-1.c  -std=gnu++98 (test for excess errors)
FAIL: c-c++-common/gomp/pr113436-1.c (test for excess errors)
FAIL: c-c++-common/gomp/pr113436-2.c  -std=gnu++20 (test for excess errors)
FAIL: c-c++-common/gomp/pr113436-2.c  -std=gnu++26 (test for excess errors)
FAIL: c-c++-common/gomp/pr113436-2.c  -std=gnu++98 (test for excess errors)
FAIL: c-c++-common/gomp/pr113436-2.c (test for excess errors)
FAIL: g++.dg/gomp/pr113436.C   (test for excess errors)
FAIL: gfortran.dg/gomp/pr113436-1.f90   -O  (test for excess errors)
FAIL: gfortran.dg/gomp/pr113436-2.f90   -O  (test for excess errors)
FAIL: libgomp.c++/target-6.C execution test

with GCC configured with

../../gcc/configure --prefix=/export/users3/haochenj/src/gcc-bisect/master/master/r16-7481/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=c-c++-common/gomp/pr113436-1.c --target_board='unix{-m32}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="gomp.exp=c-c++-common/gomp/pr113436-1.c --target_board='unix{-m32\ -march=cascadelake}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="gomp.exp=c-c++-common/gomp/pr113436-1.c --target_board='unix{-m64}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="gomp.exp=c-c++-common/gomp/pr113436-1.c --target_board='unix{-m64\ -march=cascadelake}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="gomp.exp=c-c++-common/gomp/pr113436-2.c --target_board='unix{-m32}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="gomp.exp=c-c++-common/gomp/pr113436-2.c --target_board='unix{-m32\ -march=cascadelake}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="gomp.exp=c-c++-common/gomp/pr113436-2.c --target_board='unix{-m64}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="gomp.exp=c-c++-common/gomp/pr113436-2.c --target_board='unix{-m64\ -march=cascadelake}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="gomp.exp=g++.dg/gomp/pr113436.C --target_board='unix{-m32}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="gomp.exp=g++.dg/gomp/pr113436.C --target_board='unix{-m32\ -march=cascadelake}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="gomp.exp=g++.dg/gomp/pr113436.C --target_board='unix{-m64}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="gomp.exp=g++.dg/gomp/pr113436.C --target_board='unix{-m64\ -march=cascadelake}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="gomp.exp=gfortran.dg/gomp/pr113436-1.f90 --target_board='unix{-m32}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="gomp.exp=gfortran.dg/gomp/pr113436-1.f90 --target_board='unix{-m32\ -march=cascadelake}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="gomp.exp=gfortran.dg/gomp/pr113436-1.f90 --target_board='unix{-m64}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="gomp.exp=gfortran.dg/gomp/pr113436-1.f90 --target_board='unix{-m64\ -march=cascadelake}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="gomp.exp=gfortran.dg/gomp/pr113436-2.f90 --target_board='unix{-m32}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="gomp.exp=gfortran.dg/gomp/pr113436-2.f90 --target_board='unix{-m32\ -march=cascadelake}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="gomp.exp=gfortran.dg/gomp/pr113436-2.f90 --target_board='unix{-m64}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="gomp.exp=gfortran.dg/gomp/pr113436-2.f90 --target_board='unix{-m64\ -march=cascadelake}'"
$ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c++.exp=libgomp.c++/target-6.C --target_board='unix{-m32}'"
$ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="c++.exp=libgomp.c++/target-6.C --target_board='unix{-m32\ -march=cascadelake}'"

(Please directly reply to this email for question about this report.)
(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.)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.