From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.sysgo.com (mail.sysgo.com [159.69.174.51]) by sourceware.org (Postfix) with ESMTPS id B4B543858D39 for ; Tue, 28 Mar 2023 14:24:19 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B4B543858D39 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=sysgo.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=sysgo.com Received: from lantia.sysgo.com ([172.20.1.5]:47292) by mail.sysgo.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1phAFE-0005JY-2M; Tue, 28 Mar 2023 16:24:16 +0200 Date: Tue, 28 Mar 2023 16:24:15 +0200 From: Vit Kabele To: Jeff Law , gcc-patches@gcc.gnu.org Cc: vit@kabele.me Subject: Re: [PATCH v2] Print padding size when aligning struct member Message-ID: Mail-Followup-To: Vit Kabele , Jeff Law , gcc-patches@gcc.gnu.org, vit@kabele.me References: <20230224072835.12177-1-vit.kabele@sysgo.com> <06495ef5-7cb5-867f-bf00-588989f0b08c@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <06495ef5-7cb5-867f-bf00-588989f0b08c@gmail.com> X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00,KAM_DMARC_STATUS,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hello, On Sat, Mar 11, 2023 at 08:35:53AM -0700, Jeff Law wrote: > On 2/24/23 00:28, Vít Kabele wrote: > You might consider changing the other similar message you added last year to > finalize_record_size to use the same format as this message for the sake of > consistency. For example like this? - padding struct with %d bytes to align %q+D + padding struct to align %q+D with %d bytes to be consistent with: padding struct size to alignment boundary with %E bytes -- Best regards, Vit Kabele