RE: [r16-7383 Regression] FAIL: g++.dg/analyzer/ice-pr116228.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 <SJ5PPF77D28E3C2693FE09420CE1D8D0122EC65A@SJ5PPF77D28E3C2.namprd11.prod.outlook.com>
> From: Jiang, Haochen <[email protected]>
> Sent: Monday, February 9, 2026 2:22 PM
> 
> On Linux/x86_64,
> 
> f3f7e7514a794f34a0db1cda63cbaa0f1eb899f5 is the first bad commit
> commit f3f7e7514a794f34a0db1cda63cbaa0f1eb899f5
> Author: David Malcolm <[email protected]>
> Date:   Sat Feb 7 10:21:00 2026 -0500
> 
>     analyzer: fix ICE on operator new with discarded result [PR116228]
> 
> caused
> 
> FAIL: g++.dg/analyzer/ice-pr116228.C  -std=c++20 (test for excess errors)
> FAIL: g++.dg/analyzer/ice-pr116228.C  -std=c++26 (test for excess errors)
> FAIL: g++.dg/analyzer/ice-pr116228.C  -std=c++98 (test for excess errors)
> 
> with GCC configured with
> 
> ../../gcc/configure --prefix=/export/users3/haochenj/src/gcc-
> bisect/master/master/r16-7383/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="analyzer.exp=g++.dg/analyzer/ice-pr116228.C --
> target_board='unix{-m32}'"
> $ cd {build_dir}/gcc && make check
> RUNTESTFLAGS="analyzer.exp=g++.dg/analyzer/ice-pr116228.C --
> target_board='unix{-m32\ -march=cascadelake}'"

Has been fixed on trunk for now according to:

https://gcc.gnu.org/pipermail/gcc-regression/2026-February/083386.html

Thx,
Haochen

> 
> (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.