The value of flag is (-8392830)10 (ff7fef82)16, which points to
the problem in deg_builder.cc:237: flag |= id_orig->recalc; where
recalc is -8392830. That is a separate issue.
bitscan_forward_clear_i keeps reducing the value of current_flag
until the sign bit is cleared and long before that, the underlying
type of the enum overflows.
The warning:
depsgraph_tag.cc:367:7: runtime error: load of value 33554432, which
is not a valid value for type 'IDRecalcFlag'
Fix T81340 (partially)