re PR bootstrap/49270 (make BOOT_CFLAGS="-g -O3" CFLAGS_FOR_TARGET="-g -O3" CXXFLAGS_FOR_TARGET="-g -O3" failure)

PR bootstrap/49270
* ipa-inline-analysis.c (read_predicate): Initialize all clauses.

From-SVN: r174697
This commit is contained in:
Alexandre Oliva 2011-06-06 13:24:39 +00:00 committed by Alexandre Oliva
parent 275311c494
commit f75e1f1ee3
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2011-06-06 Alexandre Oliva <aoliva@redhat.com>
PR bootstrap/49270
* ipa-inline-analysis.c (read_predicate): Initialize all clauses.
2011-06-06 Mikael Pettersson <mikpe@it.uu.se>
PR tree-optimization/49243

View File

@ -2301,6 +2301,11 @@ read_predicate (struct lto_input_block *ib)
clause = out.clause[k++] = lto_input_uleb128 (ib);
}
while (clause);
/* Zero-initialize the remaining clauses in OUT. */
while (k <= MAX_CLAUSES)
out.clause[k++] = 0;
return out;
}