]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
pta: Adjust handle_call_arg's comment
authorFilip Kastl <fkastl@suse.cz>
Tue, 23 Jun 2026 15:54:53 +0000 (17:54 +0200)
committerFilip Kastl <fkastl@suse.cz>
Wed, 24 Jun 2026 12:11:40 +0000 (14:11 +0200)
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 <fkastl@suse.cz>
gcc/gimple-ssa-pta-constraints.cc

index bb59e53331225afe0a5f3bfddb0899c45af882f9..dec3b2f6f14044b104e17c47ee3c833ccac2aa39 100644 (file)
@@ -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