[Bug tree-optimization/123645] [13/14/15/16 Regression] `a!=0 ? 0 : __builtin_bswap(a)` (popcount too) is producing wrong code and not 0 since r12-2657 (and r9-1682)

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Jan 17 21:18:52 GMT 2026


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123645

--- Comment #9 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Created attachment 63371
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=63371&action=edit
Patch which I am testing


More information about the Gcc-bugs mailing list