From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A86B63858C36; Tue, 2 Apr 2024 17:08:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A86B63858C36 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1712077715; bh=emtitF27Qv5IUdvkUsAPNqZjFjf/9WX2lkHfkBIs3Ww=; h=From:To:Subject:Date:In-Reply-To:References:From; b=OF/KmK5qED3gWiK4wnEE7Gitve9p7+eiMZGhulKiLI2ce5q8EEjdo2UeNPbJv0iyY MwMTSSLV9IheVljiSOgao19GwsONM+GmTSLj0gBGUmsaGBNxg5ZexcDOlWtF/Dpd7y hLUEsl1NrPBoG+KYY8dzu2JLz4cNJSOYhod1vvE0= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libquadmath/114533] libquadmath: printf: fix misaligned access on args Date: Tue, 02 Apr 2024 17:08:34 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libquadmath X-Bugzilla-Version: 13.2.1 X-Bugzilla-Keywords: ABI X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org 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: 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=3D114533 --- Comment #8 from Jakub Jelinek --- I guess we should go with the above patch after fixing formatting, but it i= sn't enough, printf_fphex.c has similar code. Even in glibc which doesn't support printing _Float128 nor any other type w= hich would require similar alignment, the hooks only register a function to fill= in some mem and allows specification of size, but can't specify alignment.=