From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 97F543858CDA; Wed, 14 Jun 2023 03:53:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 97F543858CDA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1686714816; bh=3oxjSIJELd3QYRe+lCEZDdhduznh7XgLn3LULCg8fro=; h=From:To:Subject:Date:In-Reply-To:References:From; b=gv9L+0rlXJV2RnvNSFLPHkbUs9M3TeASoHcb1PEt8ypP1QrMiSvJOw1euJE5DXTMb HJJb33yAdeSDlW6N23N4j7253giI+UFUycXTGbDVZhmpRefNA53Tt1LKPDiJHt4JYV 5Q5+rg87DT1vjtFmEvWCI1liM6h1zpeN7nxrjKGM= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/83780] False positive alignment error with -fsanitize=undefined with virtual base Date: Wed, 14 Jun 2023 03:53:35 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 7.2.1 X-Bugzilla-Keywords: diagnostic, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: 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=3D83780 --- Comment #5 from Andrew Pinski --- (In reply to Ivan Bodrov from comment #2) > I have reported the same bug for Clang: > https://bugs.llvm.org/show_bug.cgi?id=3D35902 >=20 > Unlike GCC, Clang is also eager to generate unaligned "movaps" instructio= ns, > crashing the program. Afaik GCC does not generate SSE instructions that > often, but I wonder if it can do something similar. Yes, see PR 71644 where that could happen.=