https://gcc.gnu.org/g:9e8087fb026ff94a720731892ca5678258b73b3a
commit r17-1802-g9e8087fb026ff94a720731892ca5678258b73b3a Author: Filip Kastl <[email protected]> Date: Tue Jun 23 17:54:53 2026 +0200 pta: Adjust handle_call_arg's comment handle_call_args's comment suggests it is only called in non-IPA mode. That's not true. Adjust the comment to reflect that. gcc/ChangeLog: * gimple-ssa-pta-constraints.cc (handle_call_arg): Mention in comment that the function can get called in IPA mode. Signed-off-by: Filip Kastl <[email protected]> Diff: --- gcc/gimple-ssa-pta-constraints.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gcc/gimple-ssa-pta-constraints.cc b/gcc/gimple-ssa-pta-constraints.cc index bb59e5333122..dec3b2f6f140 100644 --- a/gcc/gimple-ssa-pta-constraints.cc +++ b/gcc/gimple-ssa-pta-constraints.cc @@ -1464,9 +1464,9 @@ handle_call_arg (gcall *stmt, tree arg, vec<ce_s> *results, int flags, } } -/* For non-IPA mode, generate constraints necessary for a call on the - RHS and collect return value constraint to RESULTS to be used later in - handle_lhs_call. +/* For non-IPA mode or for a function with body not available. + Generate constraints necessary for a call on the RHS and collect return + value constraint to RESULTS to be used later in handle_lhs_call. IMPLICIT_EAF_FLAGS are added to each function argument. If WRITES_GLOBAL_MEMORY is true function is assumed to possibly write to global
