On Linux/x86_64, 2505a8b41d3b74a545755a278f3750a29c1340b6 is the first bad commit commit 2505a8b41d3b74a545755a278f3750a29c1340b6 Author: Tobias Burnus <tob...@codesourcery.com> Date: Mon Dec 11 15:08:07 2023 +0100
OpenMP: Minor '!$omp allocators' cleanup caused FAIL: gfortran.dg/gomp/allocate-5.f90 -O (internal compiler error: tree check: expected class 'type', have 'declaration' (function_decl) in gfc_omp_call_is_alloc, at fortran/trans-openmp.cc:8386) FAIL: gfortran.dg/gomp/allocate-5.f90 -O (test for excess errors) FAIL: libgomp.fortran/allocators-1.f90 -O (internal compiler error: tree check: expected class 'type', have 'declaration' (function_decl) in gfc_omp_call_is_alloc, at fortran/trans-openmp.cc:8386) FAIL: libgomp.fortran/allocators-1.f90 -O scan-tree-dump-times original "__builtin_GOMP_free \\(sss, 0B\\);" 2 FAIL: libgomp.fortran/allocators-1.f90 -O scan-tree-dump-times original "GOMP_add_alloc \\(sss\\);" 1 FAIL: libgomp.fortran/allocators-1.f90 -O scan-tree-dump-times original "if \\(GOMP_is_alloc \\(sss\\)\\)" 2 FAIL: libgomp.fortran/allocators-1.f90 -O scan-tree-dump-times original "sss = \\(integer\\(kind=4\\) \\*\\) __builtin_GOMP_alloc \\(4, 4, D\\.[0-9]+\\);" 1 FAIL: libgomp.fortran/allocators-1.f90 -O (test for excess errors) FAIL: libgomp.fortran/allocators-2.f90 -O (internal compiler error: tree check: expected class 'type', have 'declaration' (function_decl) in gfc_omp_call_is_alloc, at fortran/trans-openmp.cc:8386) FAIL: libgomp.fortran/allocators-2.f90 -O (test for excess errors) FAIL: libgomp.fortran/allocators-3.f90 -O (internal compiler error: tree check: expected class 'type', have 'declaration' (function_decl) in gfc_omp_call_is_alloc, at fortran/trans-openmp.cc:8386) FAIL: libgomp.fortran/allocators-3.f90 -O (test for excess errors) FAIL: libgomp.fortran/allocators-4.f90 -O (internal compiler error: tree check: expected class 'type', have 'declaration' (function_decl) in gfc_omp_call_is_alloc, at fortran/trans-openmp.cc:8386) FAIL: libgomp.fortran/allocators-4.f90 -O (test for excess errors) FAIL: libgomp.fortran/allocators-5.f90 -O (internal compiler error: tree check: expected class 'type', have 'declaration' (function_decl) in gfc_omp_call_is_alloc, at fortran/trans-openmp.cc:8386) FAIL: libgomp.fortran/allocators-5.f90 -O (test for excess errors) with GCC configured with ../../gcc/configure --prefix=/export/users/haochenj/src/gcc-bisect/master/master/r14-6412/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=gfortran.dg/gomp/allocate-5.f90 --target_board='unix{-m32}'" $ cd {build_dir}/gcc && make check RUNTESTFLAGS="gomp.exp=gfortran.dg/gomp/allocate-5.f90 --target_board='unix{-m32\ -march=cascadelake}'" $ cd {build_dir}/gcc && make check RUNTESTFLAGS="gomp.exp=gfortran.dg/gomp/allocate-5.f90 --target_board='unix{-m64}'" $ cd {build_dir}/gcc && make check RUNTESTFLAGS="gomp.exp=gfortran.dg/gomp/allocate-5.f90 --target_board='unix{-m64\ -march=cascadelake}'" $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="fortran.exp=libgomp.fortran/allocators-1.f90 --target_board='unix{-m32}'" $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="fortran.exp=libgomp.fortran/allocators-1.f90 --target_board='unix{-m32\ -march=cascadelake}'" $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="fortran.exp=libgomp.fortran/allocators-1.f90 --target_board='unix{-m64}'" $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="fortran.exp=libgomp.fortran/allocators-1.f90 --target_board='unix{-m64\ -march=cascadelake}'" $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="fortran.exp=libgomp.fortran/allocators-2.f90 --target_board='unix{-m32}'" $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="fortran.exp=libgomp.fortran/allocators-2.f90 --target_board='unix{-m32\ -march=cascadelake}'" $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="fortran.exp=libgomp.fortran/allocators-2.f90 --target_board='unix{-m64}'" $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="fortran.exp=libgomp.fortran/allocators-2.f90 --target_board='unix{-m64\ -march=cascadelake}'" $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="fortran.exp=libgomp.fortran/allocators-3.f90 --target_board='unix{-m32}'" $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="fortran.exp=libgomp.fortran/allocators-3.f90 --target_board='unix{-m32\ -march=cascadelake}'" $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="fortran.exp=libgomp.fortran/allocators-3.f90 --target_board='unix{-m64}'" $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="fortran.exp=libgomp.fortran/allocators-3.f90 --target_board='unix{-m64\ -march=cascadelake}'" $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="fortran.exp=libgomp.fortran/allocators-4.f90 --target_board='unix{-m32}'" $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="fortran.exp=libgomp.fortran/allocators-4.f90 --target_board='unix{-m32\ -march=cascadelake}'" $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="fortran.exp=libgomp.fortran/allocators-4.f90 --target_board='unix{-m64}'" $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="fortran.exp=libgomp.fortran/allocators-4.f90 --target_board='unix{-m64\ -march=cascadelake}'" $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="fortran.exp=libgomp.fortran/allocators-5.f90 --target_board='unix{-m32}'" $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="fortran.exp=libgomp.fortran/allocators-5.f90 --target_board='unix{-m32\ -march=cascadelake}'" $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="fortran.exp=libgomp.fortran/allocators-5.f90 --target_board='unix{-m64}'" $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAGS="fortran.exp=libgomp.fortran/allocators-5.f90 --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.)