https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120629
--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Anyway, my main ws is Intel skylake-avx512, so can't easily do LTO -march=znver2 profiledbootstraps. So unless it is reproduceable with some other options (say -mavx512{bw,cd,dq} -mbmi2 -mlzcnt or something similar), can't try to reproduce it immediately. If it is really my commit, interesting would be to try to comment out the enable_ranger (fun); and disable_ranger (fun); lines in cfgexpand.cc (pass_expand::execute), that will force using global ranges. And/or selectively remove the third arguments from range_of_expr calls in tree.cc and internal-fn.cc, or if the one in tree.cc is kept, selectively change get_range_pos_neg second get_range_pos_neg argument to NULL to force global range in a particular case.