From: Filip Kastl Date: Tue, 23 Jun 2026 15:54:53 +0000 (+0200) Subject: pta: Adjust handle_call_arg's comment X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e8087fb026ff94a720731892ca5678258b73b3a;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/gimple-ssa-pta-constraints.cc b/gcc/gimple-ssa-pta-constraints.cc index bb59e533312..dec3b2f6f14 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 *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