From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0AC863858C52; Sun, 15 Jan 2023 11:20:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0AC863858C52 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1673781603; bh=7+A2xFblWYO9mLWGZlfc/yliV0WezS38ejMuxLy0/To=; h=From:To:Subject:Date:In-Reply-To:References:From; b=VNFxtihrceplCcVQoia0Pf5aTCZ24y4IEf83sfZwbgnyFZ7/fMYB5cPdGolKRaBOY veaCpqPGu+KfmaOXTQ40+MBI8vrZ9e8L7mV1JOSJZgiDeboWoqJQP+ufXcbY371ToK NZjRD9140JCPFcB4YqEl2et1gNiadWG9S3j2z58g= From: "yann at droneaud dot fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/108398] tree-object-size trips up with pointer arithmetic if an intermediate result is an invalid pointer Date: Sun, 15 Jan 2023 11:20:00 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 12.1.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: yann at droneaud dot fr X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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=3D108398 --- Comment #10 from Yann Droneaud --- (In reply to Jakub Jelinek from comment #8) > -fsanitize=3Dundefined with no diagnostics doesn't mean code is UB free. This is a pity, it would have help users do diagnose the issue in their cod= e.=