[PATCH] Fix lto-bootstrap (PR bootstrap/79003).
Jakub Jelinek
jakub@redhat.com
Fri Jan 6 12:54:00 GMT 2017
On Fri, Jan 06, 2017 at 01:41:15PM +0100, Martin Liška wrote:
> Hello.
>
> This enables doable LTO bootstrap w/o -disable-werror. First change is mentioned
> in the PR, second is adding -fno-lto to libdecnumber. Honza told me that proper
> fix would take more effort as it's an old library. Last needed hunk handles -Wmaybe-uninitialized,
> as described in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79003#c4.
>
> Patch LTO bootstraps on x86_64-linux-gnu, can bootstrap on ppc64le-redhat-linux
> and survives regression tests.
>
> Ready to be installed?
> Martin
> >From 67a3ccd99963ac19cbaebf17453cb51819c7bf1d Mon Sep 17 00:00:00 2001
> From: marxin <mliska@suse.cz>
> Date: Thu, 5 Jan 2017 17:18:27 +0100
> Subject: [PATCH] Fix lto-bootstrap (PR bootstrap/79003).
>
> gcc/ChangeLog:
>
> 2017-01-05 Martin Liska <mliska@suse.cz>
>
> PR bootstrap/79003
> * lra-constraints.c: Rename invariant to lra_invariant.
> * predict.c (set_even_probabilities): Initialize e to NULL.
>
> libdecnumber/ChangeLog:
>
> 2017-01-05 Martin Liska <mliska@suse.cz>
>
> PR bootstrap/79003
> * Makefile.in: Add -fno-lto to {C,CPP,LD}FLAGS.
Ok, thanks.
Jakub
More information about the Gcc-patches
mailing list