From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0C64F3858291; Sun, 5 Mar 2023 10:25:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0C64F3858291 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1678011903; bh=bCgUQbMHfooSwkPLAi6ZVhHONDTctECbtKL17m/uBKY=; h=From:To:Subject:Date:From; b=g8Getf80g1oSh9nkWrDIERzwWxaY5oDt9S/w+/87F7A+asKORKywd8YIJBQiA9OYl lbWuyB2Rom2r/C9do9QH6/ZQN3puqPI8wkgGvh4kYHXdSCTwY9DWJt3ucI9wupEu8D X9v/UsuziSF/y24LATn22wUYNhWbXrwCrFThSijQ= From: "zsojka at seznam dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug analyzer/109027] New: [13 Regression] ICE: SIGSEGV (infinite recursion in ana::constraint_manager::eval_condition / ana::constraint_manager::impossible_derived_conditions_p) with -fanalyzer Date: Sun, 05 Mar 2023 10:25:02 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: analyzer X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: zsojka at seznam dot cz X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone cf_gcchost cf_gcctarget attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D109027 Bug ID: 109027 Summary: [13 Regression] ICE: SIGSEGV (infinite recursion in ana::constraint_manager::eval_condition / ana::constraint_manager::impossible_derived_conditions _p) with -fanalyzer Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: analyzer Assignee: dmalcolm at gcc dot gnu.org Reporter: zsojka at seznam dot cz Target Milestone: --- Host: x86_64-pc-linux-gnu Target: x86_64-pc-linux-gnu Created attachment 54587 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D54587&action=3Dedit auto-reduced testcase Compiler output: $ x86_64-pc-linux-gnu-gcc -fanalyzer testcase.C -wrapper gdb,--args ... Program received signal SIGSEGV, Segmentation fault. 0x000000000114d104 in ggc_internal_alloc (size=3Dsize@entry=3D32, f=3Df@ent= ry=3D0x0, s=3Ds@entry=3D0, n=3Dn@entry=3D1) at /repo/gcc-trunk/gcc/ggc-page.cc:1278 1278 { (gdb) bt #0 0x000000000114d104 in ggc_internal_alloc (size=3Dsize@entry=3D32, f=3Df@entry=3D0x0, s=3Ds@entry=3D0, n=3Dn@entry=3D1) at /repo/gcc-trunk/gcc/ggc-page.cc:1278 #1 0x0000000001349489 in ggc_internal_cleared_alloc (size=3Dsize@entry=3D3= 2, f=3Df@entry=3D0x0, s=3Ds@entry=3D0, n=3Dn@entry=3D1) at /repo/gcc-trunk/gcc/ggc-common.cc:114 ... #19 0x00000000028f2826 in ana::constraint_manager::eval_condition (this=3D0x4041780, lhs=3D0x39d8160, op=3DEQ_EXPR, rhs=3D0x3ac1c10) at /repo/gcc-trunk/gcc/analyzer/constraint-manager.cc:2591 #20 0x00000000028f5025 in ana::constraint_manager::impossible_derived_conditions_p (this=3D0x4041780, lhs=3D0x3ac7600,=20 rhs=3D0x3a2b5a0) at /repo/gcc-trunk/gcc/analyzer/constraint-manager.cc:= 2525 #21 0x00000000028f2826 in ana::constraint_manager::eval_condition (this=3D0x4041780, lhs=3D0x3ac7600, op=3DEQ_EXPR, rhs=3D0x3a2b5a0) at /repo/gcc-trunk/gcc/analyzer/constraint-manager.cc:2591 ... $ x86_64-pc-linux-gnu-gcc -v Using built-in specs. COLLECT_GCC=3D/repo/gcc-trunk/binary-latest-amd64/bin/x86_64-pc-linux-gnu-g= cc COLLECT_LTO_WRAPPER=3D/repo/gcc-trunk/binary-trunk-r13-6471-20230304015539-= g53940eee089-checking-yes-rtl-df-extra-amd64/bin/../libexec/gcc/x86_64-pc-l= inux-gnu/13.0.1/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /repo/gcc-trunk//configure --enable-languages=3Dc,c++ --enable-valgrind-annotations --disable-nls --enable-checking=3Dyes,rtl,df,= extra --with-cloog --with-ppl --with-isl --build=3Dx86_64-pc-linux-gnu --host=3Dx86_64-pc-linux-gnu --target=3Dx86_64-pc-linux-gnu --with-ld=3D/usr/bin/x86_64-pc-linux-gnu-ld --with-as=3D/usr/bin/x86_64-pc-linux-gnu-as --disable-libstdcxx-pch --prefix=3D/repo/gcc-trunk//binary-trunk-r13-6471-20230304015539-g53940eee0= 89-checking-yes-rtl-df-extra-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 13.0.1 20230304 (experimental) (GCC)=