http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50161
Bug #: 50161 Summary: [4.7 Regression] wrong code with -fno-tree-ter and __builtin_popcountl Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassig...@gcc.gnu.org ReportedBy: zso...@seznam.cz Host: x86_64-pc-linux-gnu Target: x86_64-pc-linux-gnu Created attachment 25081 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25081 reduced testcase Output: $ gcc -O2 -fno-tree-ter -funroll-loops testcase.c $ ./a.out Aborted Tested revisions: r177969 - fail r173150 - OK 4.6.1 - OK