https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88972
Richard Biener changed:
What|Removed |Added
Keywords||missed-optimization
Target||x86_64-*-*, i?86-*-*
Status|UNCONFIRMED |NEW
Last reconfirmed||2019-01-22
Component|tree-optimization |target
Ever confirmed|0 |1
--- Comment #1 from Richard Biener ---
Err, __builtin_popcount has an integer argument so you call popcount on
(int)m. The reason must be different.
(insn 17 16 26 4 (parallel [
(set (reg:SI 88 [ ])
(popcount:SI (subreg:SI (reg/v:TI 89 [ m ]) 0)))
(clobber (reg:CC 17 flags))
]) "t.c":4 -1
(nil))