From d4ed2cd13d0277b5e2c1dc1d1da998a631053cd8 Mon Sep 17 00:00:00 2001 From: Martin Jambor Date: Thu, 2 Apr 2020 15:11:22 +0200 Subject: [PATCH] sra/doc: Document param sra-max-propagations I forgot to document the new param in invoke.texi, does the text below look OK? Tested with make info and make pdf. Thanks, Martin 2020-04-02 Martin Jambor * doc/invoke.texi (Optimize Options): Document sra-max-propagations. --- gcc/ChangeLog | 4 ++++ gcc/doc/invoke.texi | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3ffac6702ad..3e3f1ea13c7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2020-04-02 Martin Jambor + + * doc/invoke.texi (Optimize Options): Document sra-max-propagations. + 2020-04-02 Jakub Jelinek PR rtl-optimization/92264 diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 412750c1fc9..e9e1683e9a8 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -12785,6 +12785,11 @@ speed (@option{sra-max-scalarization-size-Ospeed}) or size (@option{sra-max-scalarization-size-Osize}) respectively. +@item sra-max-propagations +The maximum number of artificial accesses that Scalar Replacement of +Aggregates (SRA) will track, per one local variable, in order to +facilitate copy propagation. + @item tm-max-aggregate-size When making copies of thread-local variables in a transaction, this parameter specifies the size in bytes after which variables are -- 2.30.2