https://gcc.gnu.org/g:07cbb8cdcef287cf4b481a536cce69ef34b32478
commit r16-7146-g07cbb8cdcef287cf4b481a536cce69ef34b32478 Author: Filip Kastl <[email protected]> Date: Thu Jan 29 16:01:33 2026 +0100 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 <[email protected]> Diff: --- 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 0262873ecece..900d256cb4ec 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)
