From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6B793385843B; Fri, 19 Jan 2024 10:10:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6B793385843B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1705659016; bh=k+0NUIHEj5jEdpKWwcnXTbrBxjt/jIqQkqd4ChQ7UbA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=gQASPmNGA5k39RJhSb/nfOpq+LcTVf+d5qLwmbJ23yHJm8O2mFMedQCg+1Lby63kV EvM6Jmsi8nyc8shom9yVKfJrwToCPnzx4aeCZui1481vDWaPPu2pBC4LG0qxaHga7P GEQ6v2qpUuGsjqvYDElYD4oCKF3HUuFk4H1AhoBM= From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug analyzer/111475] Many C++ analyzer tests FAIL Date: Fri, 19 Jan 2024 10:10:14 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: analyzer X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: testsuite-fail X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org 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: 14.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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=3D111475 --- Comment #3 from Rainer Orth --- I've now reduced c-c++-common/analyzer/allocation-size-1.c:test_2 to minimal preprocessed the inputs, still showing the difference: $ cc1plus -fpreprocessed as1-sol2.ii -quiet -std=3Dc++98 -fdiagnostics-color=3Dnever -fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers -fdiagnostics-urls=3Dnever -fdiagnostics-path-format=3Dseparate-events -fdiagnostics-text-art-charset= =3Dnone -fmessage-length=3D0 -fanalyzer -fanalyzer-call-summaries -o as1.s * as1-sol2.ii: as1-sol2.ii:17:37: note: (1) allocated 42 bytes and assigned to =E2=80=98in= t32_t*=E2=80=99 {aka =E2=80=98int*=E2=80=99} here; =E2=80=98sizeof (int32_t {aka int})=E2=80=99 = is =E2=80=984=E2=80=99 * as1-lx.ii: as1-lx.ii:21:37: note: (1) allocated 42 bytes here as1-lx.ii:21:37: note: (2) assigned to =E2=80=98int32_t*=E2=80=99 {aka =E2= =80=98int*=E2=80=99} here; =E2=80=98sizeof (int32_t {aka int})=E2=80=99 is =E2=80=984=E2=80=99=