On 08/05/2011 5:09 PM, Patrick Walton wrote:
Currently rustrt is built with -O0 on the Mac due to a GCC bug. This is
starting to cause performance problems; in particular, very suboptimal
assembler is generated for next_power_of_two, which is the third-highest
function in the profiles. Apple's GCC is way outdated anyhow.
Will anyone object if I make clang a dependency on that platform?
I don't mind if "we can build with clang" (support, auto-preference). I
think I do mind if we *must* build with clang (dependency), but could
probably be convinced otherwise.
I'm also curious whether there's anything simpler we can do to work
around the gcc bug short of switching compilers. What's the nature of
the bug?
-Graydon
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev