This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/47913] [C++0x] improve ratio_add to overflow less often
- From: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 2 Mar 2011 12:07:15 +0000
- Subject: [Bug libstdc++/47913] [C++0x] improve ratio_add to overflow less often
- Auto-submitted: auto-generated
- References: <bug-47913-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47913
--- Comment #12 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-03-02 12:07:13 UTC ---
About int/long/long long I see what you mean, but we should double check that
__builtin_clzll is unconditionally available and the same as __builtin_clz if
intmax_t == int (etc): at the moment I'm not 100% sure.