On 12/19/23 10:21, Siddhesh Poyarekar wrote:
Narrow down scope of the unknowns bitmap so that it is only accessible
within the reexamination process.  This also removes any role of unknown
propagation from object_sizes_set, thus simplifying that code path a
bit.

gcc/ChangeLog:

        * tree-object-size.cc (object_size_info): Remove UNKNOWNS.
        Drop all references to it.
        (object_sizes_set): Move unknowns propagation code to...
        (gimplify_size_expressions): ... here.  Also free reexamine
        bitmap.
        (propagate_unknowns): New parameter UNKNOWNS.  Update callers.

Signed-off-by: Siddhesh Poyarekar <siddh...@gotplt.org>
---

This is a follow-up cleanup to pr#113012, but not required to fix that
bug.  Bootstrapped on x86_64 and with config=ubsan.
OK, assuming it also went through a regression test or does so before committing.

jeff

Reply via email to