https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110112

Tim Lange <tlange at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tlange at gcc dot gnu.org

--- Comment #2 from Tim Lange <tlange at gcc dot gnu.org> ---
Seems to be related to binding_map::apply_ctor_to_region (const region *, tree,
region_model_manager *) being called quite often to bind the initial value of
the global to a region. The method is linear in the size of the elements of the
constructor node and does expensive things inside the loop.

A quick fix would be to bail out if the number of elements is too large and
resort to a unknown value.

Reply via email to