On Linux/x86_64,
f1bfba3a9b3f31e3e06bfd1911c9f223869ea03f is the first bad commit
commit f1bfba3a9b3f31e3e06bfd1911c9f223869ea03f
Author: Tobias Burnus <[email protected]>
Date: Wed Aug 7 19:31:19 2024 +0200
OpenMP: Constructors and destructors for "declare target" static aggregates
caused
FAIL: libgomp.c++/static-aggr-constructor-destructor-1.C scan-tree-dump-times
optimized "__attribute__\\(\\([^\n\r]*omp declare target nohost" 1
FAIL: libgomp.c++/static-aggr-constructor-destructor-1.C scan-tree-dump-times
optimized "void _GLOBAL__off_I_v1" 1
FAIL: libgomp.c++/static-aggr-constructor-destructor-2.C scan-tree-dump-times
optimized "__attribute__\\(\\([^\n\r]*omp declare target nohost" 1
FAIL: libgomp.c++/static-aggr-constructor-destructor-2.C scan-tree-dump-times
optimized "void _GLOBAL__off_I_" 1
with GCC configured with
../../gcc/configure
--prefix=/export/users/haochenj/src/gcc-bisect/master/master/r15-2799/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}/x86_64-linux/libgomp/testsuite && make check
RUNTESTFLAGS="c++.exp=libgomp.c++/static-aggr-constructor-destructor-1.C
--target_board='unix{-m32}'"
$ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check
RUNTESTFLAGS="c++.exp=libgomp.c++/static-aggr-constructor-destructor-1.C
--target_board='unix{-m32\ -march=cascadelake}'"
$ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check
RUNTESTFLAGS="c++.exp=libgomp.c++/static-aggr-constructor-destructor-1.C
--target_board='unix{-m64}'"
$ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check
RUNTESTFLAGS="c++.exp=libgomp.c++/static-aggr-constructor-destructor-1.C
--target_board='unix{-m64\ -march=cascadelake}'"
$ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check
RUNTESTFLAGS="c++.exp=libgomp.c++/static-aggr-constructor-destructor-2.C
--target_board='unix{-m32}'"
$ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check
RUNTESTFLAGS="c++.exp=libgomp.c++/static-aggr-constructor-destructor-2.C
--target_board='unix{-m32\ -march=cascadelake}'"
$ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check
RUNTESTFLAGS="c++.exp=libgomp.c++/static-aggr-constructor-destructor-2.C
--target_board='unix{-m64}'"
$ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check
RUNTESTFLAGS="c++.exp=libgomp.c++/static-aggr-constructor-destructor-2.C
--target_board='unix{-m64\ -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.)