[RFH] split {generic,gimple}-match.c files

Richard Biener rguenther@suse.de
Thu May 2 19:04:00 GMT 2019


On May 2, 2019 8:14:46 PM GMT+02:00, Segher Boessenkool <segher@kernel.crashing.org> wrote:
>On Thu, May 02, 2019 at 07:41:18PM +0200, Richard Biener wrote:
>> On May 2, 2019 7:00:16 PM GMT+02:00, Segher Boessenkool
><segher@kernel.crashing.org> wrote:
>> >On Thu, May 02, 2019 at 03:18:00PM +0200, Richard Biener wrote:
>> >> Somewhen earlier this year I've done the experiment with using
>> >> a compile with -flto -fno-fat-lto-objects and a link
>> >> via -flto -r -flinker-output=rel into the object file.  This cut
>> >> compile-time more than in half with less maintainance overhead.
>> >> 
>> >> Adding other files to this handling looks trivial as well, as well
>> >> as conditionalizing it (I'd probably not want this for devel
>builds).
>> >
>> >But we want devel builds to be a lot faster than they are now :-/
>> 
>> My devel build is -O0 non-bootstrapped and building the files after
>dependency changes is fast enough. It's the bootstraps that matter, no?
>
>
>Yes, I bootstrap most of the time.  For development.  It catches a
>*lot*
>of problems progressive builds do not.  (Those are plenty fast already
>of
>course, -O0 or not).

So we'd catch it there but disable by default for stage 1 since we probably do not want to rely on the host compiler. 

Richard. 

>
>Segher



More information about the Gcc-patches mailing list