From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) by sourceware.org (Postfix) with ESMTPS id 049C83858D37 for ; Sun, 20 Mar 2022 15:38:20 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 049C83858D37 Received: by mail-ed1-x531.google.com with SMTP id z92so14414423ede.13 for ; Sun, 20 Mar 2022 08:38:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=cgGhatp36V1PceViJNZoyhy/CyVK/Iaf2cERh7AoCms=; b=yt+M44Rwkogjmg/8c3uhfaGSsr7/zWCvo+FK3QV9C15+RPXjKYzKOKnkfi9HJ2Fc2h siUnShW2J/bf72IZ9bN1XpQ/GaFYz45Ukxl7wvmgbf53ayzBM5bL/YiNhKnB8pLhmax2 +pI3lfTgD8hPVF3OLcrpjc4Wi7PNnTmbyJqQL1bYLDU9jUh78QIZrmsjfI7YsxwWw3kV sPifX7AQJXDuqp/UDNgDmnyL4QoNTZS5OgT8gdplcTLApKngbToadDfaCYiI924MtKHw 1NO3PtwhKQzt5NH911F5HbGflEmjmg4gJzFzw4nvGzKFsANCTRPo3RKtX+dWr2FSXYrY CM1g== X-Gm-Message-State: AOAM533teyP7z/eDA6hNVCcv+XxNWSlZneh5uRVuQpZhcXvGffFTVhZS rOIwQGavnjSpKOgJ3CrYl61Fc1OYnDye4NbrQsPhfrDn+LU= X-Google-Smtp-Source: ABdhPJwJLvBE3f64DbBL8mXdQ8I9pPb54O7hwsaxBgEWTx9aYfmkxiXPfu7aEz6gn24Mo27+Ii6l8tcgRf7lun1yGU0= X-Received: by 2002:a05:6402:1e89:b0:416:a641:9fe with SMTP id f9-20020a0564021e8900b00416a64109femr18839017edf.312.1647790698537; Sun, 20 Mar 2022 08:38:18 -0700 (PDT) MIME-Version: 1.0 From: Doods Pav Date: Sun, 20 Mar 2022 15:38:09 +0000 Message-ID: Subject: Is changing __STDCPP_DEFAULT_NEW_ALIGNMENT__ an ABI break To: gcc-help@gcc.gnu.org X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: gcc-help@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-help mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Mar 2022 15:38:21 -0000 Is changing the value of the predefined macro `__STDCPP_DEFAULT_NEW_ALIGNMENT__` considered an ABI break? (in the same way that modifying `alignof(std::max_align_t)` would be). I would assume that it is, but I saw this comment on a bug report ( https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77691#c33) and I'm unsure if the value of the macro was later changed in a patch, and if so, if that was considered an ABI break.