Commit b6ad178e by Andreas Tobler Committed by Andreas Tobler

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
parent dd5d134b
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> 2004-09-20 Mark Mitchell <mark@codesourcery.com>
PR c++/17530 PR c++/17530
......
...@@ -4159,7 +4159,7 @@ reshape_init_array (tree elt_type, tree max_index, ...@@ -4159,7 +4159,7 @@ reshape_init_array (tree elt_type, tree max_index,
tree *initp, tree new_init) tree *initp, tree new_init)
{ {
bool sized_array_p = (max_index != NULL_TREE); 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; HOST_WIDE_INT index;
if (sized_array_p) if (sized_array_p)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment