diff mbox

PATCH to add -flifetime-dse=1

Message ID 56CE1C82.5020500@redhat.com
State New
Headers show

Commit Message

Jason Merrill Feb. 24, 2016, 9:11 p.m. UTC
On 02/24/2016 10:25 AM, Jakub Jelinek wrote:
> That should be @option{-flifetime-dse=1} I think.  Shouldn't -flifetime-dse=
> be also in @opindex at the beginning of the paragraph, and documented what
> the values mean (0 equivalent of -fno-lifetime-dse (or document it vice
> versa) and 2 full lifetime dse enabled?
diff mbox

Patch

commit ab0d46cc0eccaa31b91488f2a691e36443cd2992
Author: jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Wed Feb 24 19:55:57 2016 +0000

    	* doc/invoke.texi: Adjust -flifetime-dse documentation.
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233680 138bc75d-0d04-0410-961f-82ee72b054a4

diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index b8b2e70..18b2b8f 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -6812,7 +6812,9 @@  storage persisting beyond the lifetime of the object, you can use this
 flag to disable this optimization.  To preserve stores before the
 constructor starts (e.g. because your operator new clears the object
 storage) but still treat the object as dead after the destructor you,
-can use -flifetime-dse=1.
+can use @option{-flifetime-dse=1}.  The default behavior can be
+explicitly selected with @option{-flifetime-dse=2}.
+@option{-flifetime-dse=0} is equivalent to @option{-fno-lifetime-dse}.
 
 @item -flive-range-shrinkage
 @opindex flive-range-shrinkage