Peter Simons <simons@xxxxxxx> writes:
[...]
> I have a related question: Is there any chance of compiling Monotone
> with more aggressive optimizing flags than -O2? It appears that
> using -O3 (I suspect: in-lining) breaks the code when compiling with
> gcc 3.3.4: Almost all "make check" tests fail when I try that.
>
> I seem to recall this this is a known problem, but is it also a
> problem that will be fixed "real soon now"? Because I suspect that
> being able to compile with in-lining would speed the program up
> significantly -- particularly C++ code.
I suggest profiling first, to try and find evidence of where any
performance problems are. Otherwise there's a big danger of working
hard to get inlining to work only to find that the improvement is
trivial.
|