[PATCH 0/6] Parallelize Intra-Procedural Optimizations using the LTO Engine.

Josh Triplett josh@joshtriplett.org
Fri Aug 21 21:08:58 GMT 2020


On Thu, Aug 20, 2020 at 07:00:13PM -0300, Giuliano Belinassi wrote:
> This patch series add a new flag "-fparallel-jobs=" to control if the
> compiler should try to compile the current file in parallel.
[...]
> Bootstrapped and Regtested on Linux x86_64.
> 
> Giuliano Belinassi (6):
>   Modify gcc driver for parallel compilation
>   Implement a new partitioner for parallel compilation
>   Implement fork-based parallelism engine
>   Add `+' for Jobserver Integration
>   Add invoke documentation
>   New tests for parallel compilation feature

Very nice!

I'm interested in testing this on a highly parallel system. What
baseline do these patches apply to?  They don't seem to apply to GCC
trunk.

Also, I tried to bootstrap the current tip of the devel/autopar_devel
branch, but ended up with compiler segfaults that all look like this:
../../gcc/zlib/compress.c:86:1: internal compiler error: Segmentation fault
   86 | }
      | ^


More information about the Gcc-patches mailing list