From patchwork Thu May 23 08:45:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Wakely X-Patchwork-Id: 1103911 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-501511-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="yWGmyHlx"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 458jkt4CR4z9s4V for ; Thu, 23 May 2019 18:45:40 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:cc:subject:message-id:mime-version:content-type; q=dns; s=default; b=Qcw/ffBwvscxYNh/oXJ1VOW588N4MsuGWE/DAF5DFwLamxWGMR lEDwmTWlZyqm2EAsNHsg8PmeqOlt/eezbTMDdi0lnhNGggxR/WzO2ATQ/QZwPTGZ ckTYwQnQQi6/77BF3H7UoFg6uDLx4HGwM2+VU1okxGdbxDk724eNDVLT8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:cc:subject:message-id:mime-version:content-type; s= default; bh=TkT+EIIMNd80tu8QOh/QwzR7ePY=; b=yWGmyHlxFIDuyllLdFR+ qYwCz5X1hVCYCxPWQFH0iLKBbkz7YckLI+IDMuNr4+aDfVsqAnPuoNkYZQ6574O0 +l9udO0+lhdTXKY9uQBjiKEcK9F9mcOv1bv44o6CyZ8j5VQCVvBu0W2HS7OsIYrU Whvgv6rG12+uaAJ1qngIWhg= Received: (qmail 32148 invoked by alias); 23 May 2019 08:45:32 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 32138 invoked by uid 89); 23 May 2019 08:45:31 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-15.6 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_HELO_PASS autolearn=ham version=3.3.1 spammy=placement X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 23 May 2019 08:45:30 +0000 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 8E58575735; Thu, 23 May 2019 08:45:29 +0000 (UTC) Received: from localhost (unknown [10.33.36.15]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3F30561376; Thu, 23 May 2019 08:45:29 +0000 (UTC) Date: Thu, 23 May 2019 09:45:28 +0100 From: Jonathan Wakely To: gcc-patches@gcc.gnu.org Cc: Jason Merrill , Ville Voutilainen Subject: [PATCH] Remove resolved TODO comment Message-ID: <20190523084528.GA31864@redhat.com> MIME-Version: 1.0 Content-Disposition: inline X-Clacks-Overhead: GNU Terry Pratchett User-Agent: Mutt/1.11.3 (2019-02-01) * init.c (std_placement_new_fn_p): Remove outdated TODO comment that was resolved by r254694. Committing to trunk as obvious. Should I bother doing the same thing on the branches where this was resolved? commit 31b5063cfade07089e5856ecf0f08d5f7bef65f9 Author: Jonathan Wakely Date: Thu May 23 09:42:51 2019 +0100 Remove resolved TODO comment * init.c (std_placement_new_fn_p): Remove outdated TODO comment that was resolved by r254694. diff --git a/gcc/cp/init.c b/gcc/cp/init.c index 4ffd96eef9d..b206263f23c 100644 --- a/gcc/cp/init.c +++ b/gcc/cp/init.c @@ -2848,8 +2848,7 @@ malloc_alignment () } /* Determine whether an allocation function is a namespace-scope - non-replaceable placement new function. See DR 1748. - TODO: Enable in all standard modes. */ + non-replaceable placement new function. See DR 1748. */ static bool std_placement_new_fn_p (tree alloc_fn) {