mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-09 20:31:36 +08:00
Fix lto-bootstrap (PR bootstrap/79003).
2017-01-06 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. 2017-01-06 Martin Liska <mliska@suse.cz> PR bootstrap/79003 * Makefile.in: Add -fno-lto to {C,CPP,LD}FLAGS. From-SVN: r244155
This commit is contained in:
parent
b41f45e7a5
commit
eb0f878074
@ -1,3 +1,9 @@
|
||||
2017-01-06 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.
|
||||
|
||||
2017-01-05 Martin Sebor <msebor@redhat.com>
|
||||
|
||||
PR tree-optimization/78910
|
||||
|
@ -4749,7 +4749,7 @@ lra_constraints_finish (void)
|
||||
|
||||
|
||||
/* Structure describes invariants for ineheritance. */
|
||||
struct invariant
|
||||
struct lra_invariant
|
||||
{
|
||||
/* The order number of the invariant. */
|
||||
int num;
|
||||
@ -4759,7 +4759,7 @@ struct invariant
|
||||
rtx_insn *insn;
|
||||
};
|
||||
|
||||
typedef struct invariant invariant_t;
|
||||
typedef lra_invariant invariant_t;
|
||||
typedef invariant_t *invariant_ptr_t;
|
||||
typedef const invariant_t *const_invariant_ptr_t;
|
||||
|
||||
@ -4767,7 +4767,7 @@ typedef const invariant_t *const_invariant_ptr_t;
|
||||
static vec<invariant_ptr_t> invariants;
|
||||
|
||||
/* Allocation pool for the invariants. */
|
||||
static object_allocator<struct invariant> *invariants_pool;
|
||||
static object_allocator<lra_invariant> *invariants_pool;
|
||||
|
||||
/* Hash table for the invariants. */
|
||||
static htab_t invariant_table;
|
||||
@ -4817,7 +4817,8 @@ static void
|
||||
initiate_invariants (void)
|
||||
{
|
||||
invariants.create (100);
|
||||
invariants_pool = new object_allocator<struct invariant> ("Inheritance invariants");
|
||||
invariants_pool
|
||||
= new object_allocator<lra_invariant> ("Inheritance invariants");
|
||||
invariant_table = htab_create (100, invariant_hash, invariant_eq_p, NULL);
|
||||
}
|
||||
|
||||
|
@ -795,7 +795,7 @@ set_even_probabilities (basic_block bb,
|
||||
hash_set<edge> *unlikely_edges = NULL)
|
||||
{
|
||||
unsigned nedges = 0;
|
||||
edge e;
|
||||
edge e = NULL;
|
||||
edge_iterator ei;
|
||||
|
||||
FOR_EACH_EDGE (e, ei, bb->succs)
|
||||
|
@ -1,3 +1,8 @@
|
||||
2017-01-06 Martin Liska <mliska@suse.cz>
|
||||
|
||||
PR bootstrap/79003
|
||||
* Makefile.in: Add -fno-lto to {C,CPP,LD}FLAGS.
|
||||
|
||||
2017-01-01 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
Update copyright years.
|
||||
|
@ -31,13 +31,13 @@ ACLOCAL = @ACLOCAL@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
CC = @CC@
|
||||
CFLAGS = @CFLAGS@
|
||||
CFLAGS = @CFLAGS@ -fno-lto
|
||||
WARN_CFLAGS = @WARN_CFLAGS@ @WARN_PEDANTIC@ @WERROR@
|
||||
CPP = @CPP@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
CPPFLAGS = @CPPFLAGS@ -fno-lto
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LDFLAGS = @LDFLAGS@ -fno-lto
|
||||
LIBICONV = @LIBICONV@
|
||||
PACKAGE = @PACKAGE@
|
||||
PICFLAG = @PICFLAG@
|
||||
|
Loading…
x
Reference in New Issue
Block a user