From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk1-x744.google.com (mail-qk1-x744.google.com [IPv6:2607:f8b0:4864:20::744]) by sourceware.org (Postfix) with ESMTPS id C539B3857800; Mon, 14 Sep 2020 09:51:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org C539B3857800 Received: by mail-qk1-x744.google.com with SMTP id d20so16244544qka.5; Mon, 14 Sep 2020 02:51:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=E8tqF26CL46I00JHdhGSJgeGzm7GJnHDrl2Wy/PA7dQ=; b=tfXVa3NUb7RtDJ9rCikCWfH3i3NSG06YW1KAefAhudqszM47y9mYJljhT4l+AumYQ+ qGjuJR3FgfgdeQfBSd/wBviTWOF7wCBiuAldywi2UnSP2nSvK4GOAuqwZ7E2J2OkgHSq VivI3e1L/SVz6nhMRhCO8tqe+3b9OhLNGQasyuwBxOPmqkdoAR2wgdSHhqFZL9LVcmTn JADHwZTZHfUiU70aAT0MtYPjBpY9+BSXIgktQI+STu9EnsjaRvkBa07dUmBRnIyZ9non 1se6kavLHzdCdg5JnDHRXLMktttw2qbF7eYoiyP3ouw9QNDTxu5OLukl2MPFwQChYgkq Kzow== X-Gm-Message-State: AOAM531wjz8ZL/InwpdC5oL8vOFBVldtDZO3RI8ZeKmfT/p66pNd6OaS aDK8SfwbIwGIrwkFdA3fvTv32lfkq3aj2RMVDJo= X-Google-Smtp-Source: ABdhPJzT/AkxFvacqlDx4GDYeAd1xFF8eHQ7pPeBXsj5W65jRQYREKJEMs5CsiESYfZRUoPrnPuWZw2lC7VXbqMDR/c= X-Received: by 2002:a37:30d:: with SMTP id 13mr11808348qkd.44.1600077072448; Mon, 14 Sep 2020 02:51:12 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Ville Voutilainen Date: Mon, 14 Sep 2020 12:51:00 +0300 Message-ID: Subject: Re: [PATCH] Fix overflow handling in std::align To: Glen Fernandes Cc: "libstdc++" , gcc-patches List Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Sep 2020 09:51:13 -0000 On Mon, 14 Sep 2020 at 09:18, Glen Fernandes via Libstdc++ wrote: > > Edit; Correct patch this time. > > Fix overflow handling in align Should the test verify that space is unmodified when nullptr is returned?