https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97325
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Aldy Hernandez <al...@gcc.gnu.org>: https://gcc.gnu.org/g:9489806fa258b90b02b55804e61e9eb748724ce7 commit r11-3719-g9489806fa258b90b02b55804e61e9eb748724ce7 Author: Aldy Hernandez <al...@redhat.com> Date: Thu Oct 8 11:41:00 2020 +0200 Fix PR97325. gcc/ChangeLog: PR tree-optimization/97325 * gimple-range.cc (gimple_ranger::range_of_builtin_call): Handle negative numbers in __builtin_ffs and __builtin_popcount.