From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 69B7A3858D39; Sun, 17 Dec 2023 17:35:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 69B7A3858D39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1702834559; bh=YfaRCkqWvLNB35Fvc69HF15y4r56RYv0okf8lL4D35o=; h=From:To:Subject:Date:In-Reply-To:References:From; b=S+xd1S7bI/KZ0ad1xt6fA4CmTmQmUGHRe2WcSqXjvz0W8RltxyaZ7R184Dn6qqp6i 0PAO1ceStR4iFuYPUdJQFdKSwb2jTIhFOYTjBOsFVc0+JP9frebZdHYYrTg8vETKa1 v1GObizyuSjrn4wS1kkebsHGx166N0DC4qYO2sdo= From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/113045] armv7l-unknown-linux-gnueabihf: valgrind error during build of libcc1 Date: Sun, 17 Dec 2023 17:35:58 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail dot com X-Bugzilla-Status: UNCONFIRMED 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: cc 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=3D113045 David Binderman changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |redi at gcc dot gnu.org --- Comment #2 from David Binderman --- The source code in lex.cc is /* Align the source pointer. */ misalign =3D (uintptr_t)s & 15; p =3D (const uint8_t *)((uintptr_t)s & -16); data =3D vld1q_u8 (p); git blame has=20 ^d4ba3b369c (Jonathan Wakely 2022-11-01 09:48:41 +0000 869) /* Align t= he source pointer. */ ^d4ba3b369c (Jonathan Wakely 2022-11-01 09:48:41 +0000 870) misalign = =3D (uintptr_t)s & 15; ^d4ba3b369c (Jonathan Wakely 2022-11-01 09:48:41 +0000 871) p =3D (con= st uint8_t *)((uintptr_t)s & -16); ^d4ba3b369c (Jonathan Wakely 2022-11-01 09:48:41 +0000 872) data =3D vld1q_u8 (p); Adding author of code for their opinion.=