http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52733
--- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-04-17 19:03:19 UTC --- Per se, the issue is now moot because both in mainline and in 4_7-branch we don't use std::log(2.0) anymore. Still, something may well be flaky, at least for this specific version of darwin ("Snow Leopard", right?) vs the optimization of the mathematical functions for compile-time constants... If current 4_7-branch builds fine - I don't see why it should not - then it should be pretty easy to create a small reproducer, just a tiny function calling std::log(2.0).