From patchwork Wed Nov 13 13:45:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Martin_Li=C5=A1ka?= X-Patchwork-Id: 1194264 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-513246-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="SG3AR8WV"; 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 47Cm98080gz9sQp for ; Thu, 14 Nov 2019 00:46:01 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :subject:to:cc:message-id:date:mime-version:content-type; q=dns; s=default; b=VRjXAJarX1CfLiH9nlPjIdSQoTc46Et6o8NOXLkhpyxt/FDGms W6It1SL0z4l30C9vgGqcbBYcIcH/QkUQV3UaKJx4iuFvH4rLJ64o8eJ8yMTZ83cu I/GlvolsiXoVzNwW31ytQ1Sm10dkDqW5mspHfg8eJrWYIMCWFLzlJ0Zs4= 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:from :subject:to:cc:message-id:date:mime-version:content-type; s= default; bh=txaNocUUMvop6UftRHU+7hQ0Jco=; b=SG3AR8WVNsJ8ByF7Hgxr hdXrlU4sY2Mvo3/V6SwgWrLESpa/oy91KszeZJvwpRrzv1eh8aaLe7rvsIFB5ogN SZxOaDlqOGNYshzLWdm0gm/+FkXl884Na3sWpPEZe5fKk5QyEWQ66vRYmCfZaNTC iFjV1eW9DZQ6PEY3Z5j6VoI= Received: (qmail 44295 invoked by alias); 13 Nov 2019 13:45:53 -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 44286 invoked by uid 89); 13 Nov 2019 13:45:53 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-18.4 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_PASS autolearn=ham version=3.3.1 spammy= X-HELO: mx1.suse.de Received: from mx2.suse.de (HELO mx1.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 13 Nov 2019 13:45:51 +0000 Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id AF20EAD79; Wed, 13 Nov 2019 13:45:49 +0000 (UTC) From: =?utf-8?q?Martin_Li=C5=A1ka?= Subject: [PATCH][DOC] Document -fallocation-dce. To: gcc-patches@gcc.gnu.org Cc: Sandra Loosemore , Gerald Pfeifer Message-ID: Date: Wed, 13 Nov 2019 14:45:49 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.1 MIME-Version: 1.0 X-IsSubscribed: yes Hi. The patch is about a documentation entry for a newly added option in GCC 10. Ready for trunk? Martin gcc/ChangeLog: 2019-11-13 Martin Liska PR other/92329 * doc/invoke.texi: Document -fallocation-dce. --- gcc/doc/invoke.texi | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 00eb7e77808..eb8c505f17b 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -407,7 +407,7 @@ Objective-C and Objective-C++ Dialects}. -falign-jumps[=@var{n}[:@var{m}:[@var{n2}[:@var{m2}]]]] @gol -falign-labels[=@var{n}[:@var{m}:[@var{n2}[:@var{m2}]]]] @gol -falign-loops[=@var{n}[:@var{m}:[@var{n2}[:@var{m2}]]]] @gol --fallow-store-data-races @gol +-fallocation-dce -fallow-store-data-races @gol -fassociative-math -fauto-profile -fauto-profile[=@var{path}] @gol -fauto-inc-dec -fbranch-probabilities @gol -fcaller-saves @gol @@ -10267,6 +10267,12 @@ The maximum allowed @var{n} option value is 65536. Enabled at levels @option{-O2}, @option{-O3}. +@item -fallocation-dce +@opindex fallocation-dce +Tell dead code elimination to remove unused C++ allocations. + +Enabled by default. + @item -fallow-store-data-races @opindex fallow-store-data-races Allow the compiler to introduce new data races on stores.