From: Filip Kastl Date: Thu, 29 Jan 2026 15:01:33 +0000 (+0100) Subject: pta: Fix comment of intra_create_variable_infos X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07cbb8cdcef287cf4b481a536cce69ef34b32478;p=thirdparty%2Fgcc.git pta: Fix comment of intra_create_variable_infos 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 --- 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)