[Bug c/43406] New: __builtin_popcountll fails with -O0 and -mpopcnt
uiltin_popcountll fails with -O0 and -mpopcnt Product: gcc Version: 4.1.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rbarreira at gmail dot com GCC b
[Bug c/43406] __builtin_popcountll fails with -O0 and -mpopcnt
--- Comment #1 from rbarreira at gmail dot com 2010-03-17 16:35 --- Note that if you use scanf ("%llx", &a) and input "" instead of having a hardcoded value for a, the bug happens both with -O3 and -O0. To sum up it seems that when the popcnt instru