Does bootstrap make native compiler faster? Should I always use --disable-boostrap?

Martin Liška mliska@suse.cz
Wed Jun 2 12:41:52 GMT 2021


On 6/2/21 10:10 AM, sotrdg sotrdg via Gcc wrote:
> The document said yes. However, what does bootstrap actually do that can make compiler faster?

Hello.

In case of openSUSE, we leverage both bootstrap-lto config with 'make profiledbootstrap'. That utilizes
profile-guided optimization. Moreover, when the latest compiler provides a new optimization, then
only using bootstrap can benefit from it.

Hope it helps,
Martin

> 
> Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
> 



More information about the Gcc mailing list