https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91725
--- Comment #3 from Jakub Jelinek ---
Created attachment 46866
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46866&action=edit
gcc10-pr91725.patch
Yet another untested patch, tree_nonzero_bits is something that already does
what you write
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91725
--- Comment #2 from Marc Glisse ---
(In reply to Jakub Jelinek from comment #1)
> gcc10-pr91725.patch
An alternative (I don't claim it is better) would be to make get_nonzero_bits
conservatively return -1 on unknown input, like the comment befor
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91725
--- Comment #1 from Jakub Jelinek ---
Created attachment 46864
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46864&action=edit
gcc10-pr91725.patch
Untested fix.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91725
Jakub Jelinek changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed|