https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106231
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |71775 --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Might be a dup of bug 71775. The problem with __builtin_ctz it is undefined at 0 for x86_64 (without one of the extensions enable). Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71775 [Bug 71775] Redundant move instruction for sign extension