http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50257
--- Comment #8 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-09-05 15:35:49 UTC --- Created attachment 25198 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25198 Yet another try I'm also considering this variant: I guess overall I like it a tad better, in particular for large number we add a comparison instead of two. And indeed an uniform treatment for small numbers which also leads to __prime_list + 5. What do you think?