RE: [r16-4540 Regression] FAIL: c-c++-common/gomp/metadirective-2.c -std=c++98 (test for excess errors) on Linux/x86_64

"Jiang, Haochen via Gcc-regression" <[email protected]>
Newsgroups gmane.comp.gcc.regression,gmane.comp.gcc.patches
Message-ID <SJ5PPF77D28E3C26F87C4B8BA6027ADCBA5ECF0A@SJ5PPF77D28E3C2.namprd11.prod.outlook.com>
> From: Jiang, Haochen <[email protected]>
> Sent: Thursday, October 23, 2025 3:49 PM
> 
> On Linux/x86_64,
> 
> 80af807e52e4f4c480454e5a54aaeb7ce44556fd is the first bad commit
> commit 80af807e52e4f4c480454e5a54aaeb7ce44556fd
> Author: Paul-Antoine Arras <[email protected]>
> Date:   Thu Oct 16 17:22:08 2025 +0100
> 
>     OpenMP: Handle non-executable directives in intervening code
> [PR120180,PR122306]
> 
> caused
> 
> FAIL: c-c++-common/gomp/attrs-metadirective-2.c  -std=gnu++11 (test for
> excess errors)
> FAIL: c-c++-common/gomp/attrs-metadirective-2.c  -std=gnu++17 (test for
> excess errors)
> FAIL: c-c++-common/gomp/attrs-metadirective-2.c  -std=gnu++26 (test for
> excess errors)
> FAIL: c-c++-common/gomp/attrs-metadirective-2.c (test for excess errors)
> FAIL: c-c++-common/gomp/metadirective-2.c  -std=c++17 (test for excess
> errors)
> FAIL: c-c++-common/gomp/metadirective-2.c  -std=c++26 (test for excess
> errors)
> FAIL: c-c++-common/gomp/metadirective-2.c  -std=c++98 (test for excess
> errors)
> FAIL: c-c++-common/gomp/metadirective-2.c (test for excess errors)

Should have been fixed according to:

https://gcc.gnu.org/pipermail/gcc-regression/2025-October/082846.html

Thx,
Haochen

> 
> with GCC configured with
> 
> ../../gcc/configure --prefix=/export/users3/haochenj/src/gcc-
> bisect/master/master/r16-4540/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/attrs-metadirective-2.c --target_board='unix{-m32}'"
> $ cd {build_dir}/gcc && make check RUNTESTFLAGS="gomp.exp=c-c++-
> common/gomp/attrs-metadirective-2.c --target_board='unix{-m32\ -
> march=cascadelake}'"
> $ cd {build_dir}/gcc && make check RUNTESTFLAGS="gomp.exp=c-c++-
> common/gomp/attrs-metadirective-2.c --target_board='unix{-m64}'"
> $ cd {build_dir}/gcc && make check RUNTESTFLAGS="gomp.exp=c-c++-
> common/gomp/attrs-metadirective-2.c --target_board='unix{-m64\ -
> march=cascadelake}'"
> $ cd {build_dir}/gcc && make check RUNTESTFLAGS="gomp.exp=c-c++-
> common/gomp/metadirective-2.c --target_board='unix{-m32}'"
> $ cd {build_dir}/gcc && make check RUNTESTFLAGS="gomp.exp=c-c++-
> common/gomp/metadirective-2.c --target_board='unix{-m32\ -
> march=cascadelake}'"
> $ cd {build_dir}/gcc && make check RUNTESTFLAGS="gomp.exp=c-c++-
> common/gomp/metadirective-2.c --target_board='unix{-m64}'"
> $ cd {build_dir}/gcc && make check RUNTESTFLAGS="gomp.exp=c-c++-
> common/gomp/metadirective-2.c --target_board='unix{-m64\ -
> 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.