decl.c (reshape_init_array): Initialize max_index_cst to fix bootstrap failure.

2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>

	* decl.c (reshape_init_array): Initialize max_index_cst to fix
	bootstrap failure.

From-SVN: r87798
This commit is contained in:
Andreas Tobler 2004-09-21 11:22:00 +02:00 committed by Andreas Tobler
parent dd5d134bc9
commit b6ad178e2e
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
* decl.c (reshape_init_array): Initialize max_index_cst to fix
bootstrap failure.
2004-09-20 Mark Mitchell <mark@codesourcery.com>
PR c++/17530

View File

@ -4159,7 +4159,7 @@ reshape_init_array (tree elt_type, tree max_index,
tree *initp, tree new_init)
{
bool sized_array_p = (max_index != NULL_TREE);
HOST_WIDE_INT max_index_cst;
HOST_WIDE_INT max_index_cst = 0;
HOST_WIDE_INT index;
if (sized_array_p)