I commited this on the 29th of January.  Sending this mail late because I
misspelled [email protected] so the original mail never arived.

Filip


-- 8< --


The comment says that this function creates varinfos for *all*
variables in a function.  Meanwhile, it only creates varinfos for
parameters, the return value and the static chain.

Commiting as obvious.

gcc/ChangeLog:

        * gimple-ssa-pta-constraints.cc (make_param_constraints): Adjust
        comment: The function only creates varinfos for the parameters,
        the return value and the static chain.

Signed-off-by: Filip Kastl <[email protected]>
---
 gcc/gimple-ssa-pta-constraints.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/gimple-ssa-pta-constraints.cc 
b/gcc/gimple-ssa-pta-constraints.cc
index 0262873ecec..900d256cb4e 100644
--- a/gcc/gimple-ssa-pta-constraints.cc
+++ b/gcc/gimple-ssa-pta-constraints.cc
@@ -3600,8 +3600,8 @@ make_param_constraints (varinfo_t vi)
     }
 }
 
-/* Create varinfo structures for all of the variables in the
-   function for intraprocedural mode.  */
+/* Create varinfo structures for parameters, return value and the static
+   chain of FN.  Intended for intraprocedural mode.  */
 
 static void
 intra_create_variable_infos (struct function *fn)
-- 
2.51.0


----- End forwarded message -----

Reply via email to