Re: gcc -pipe

From: Kinkie <gkinkie_at_gmail.com>
Date: Tue, 3 Nov 2009 14:59:29 +0100

On Wed, Oct 28, 2009 at 8:19 PM, Henrik Nordstrom
<henrik_at_henriknordstrom.net> wrote:
> ons 2009-10-28 klockan 18:09 +0100 skrev Kinkie:
>
>> We can try and add an explicit configure check if needed (I'd have
>> liked to avoid it, but we can probably just copy/paste).
>> -jsomething is IMO slightly more confusing when troubleshooting a
>> build as the output lines may get intermixed. -pipe doesn't suffer
>> from this.
>
> Well, -pipe alone can't saturate any cpu with more than 2 threads.
> Probably not even 1 for that matter..
>
> and if I get a build problem then I run make without -j to get a better
> error report if the first result is not obvious.

trunk revno 10075 contains a configure test for gcc/g++ -pipe,
enabling it if it's found working.
Performance gain is probably not much, but it won't hurt either :)

It can probably be easily backported to 3.1 too.

-- 
    /kinkie
Received on Tue Nov 03 2009 - 13:59:33 MST

This archive was generated by hypermail 2.2.0 : Tue Nov 03 2009 - 12:00:03 MST