------- Comment #4 from rob1weld at aol dot com  2009-01-09 22:16 -------
(In reply to comment #3)
> You told the compiler to compile everything at the same time what do
> you expect to cause out of memory issues?

It could create temporary files (like qsort) and shrink the size of
the file (by optimizing) until it had done what it could. It could
then cut the tree in half (find two "unions of functions" connected
by a single point) and do each half with a single jump from one
section to the other.

If the _only_ thing it can do is "grab every file in the directory"
then it will fail in many of gcc's directories and is unlikely ever
to complete a build of all languanges, let alone just "C".

I did not expect that "-combine" would be little better than cat'ting the
source files together and compiling them (as we do that a fair bit already).

Rob


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38788

Reply via email to