diff options
author | Steve Ellcey <sje@cup.hp.com> | 2007-06-04 16:00:00 +0000 |
---|---|---|
committer | Steve Ellcey <sje@gcc.gnu.org> | 2007-06-04 16:00:00 +0000 |
commit | bd075cf29816461981294496d85a6a5e409065d2 (patch) | |
tree | 3bfec108539c99a8ef3f0416e8d568c6f1d4647f | |
parent | 15eb3a2e59368a7ab28c3a98484b81c10881416f (diff) | |
download | gcc-bd075cf29816461981294496d85a6a5e409065d2.zip gcc-bd075cf29816461981294496d85a6a5e409065d2.tar.gz gcc-bd075cf29816461981294496d85a6a5e409065d2.tar.bz2 |
* trans-array.c (gfc_conv_array_parameter): Initialize tmp.
From-SVN: r125313
-rw-r--r-- | gcc/fortran/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/fortran/trans-array.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index f761f56..52e995a 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,7 @@ +2007-06-04 Steve Ellcey <sje@cup.hp.com> + + * trans-array.c (gfc_conv_array_parameter): Initialize tmp. + 2007-05-31 Richard Guenther <rguenther@suse.de> * trans-expr.c (gfc_conv_expr_op): Use zero constant diff --git a/gcc/fortran/trans-array.c b/gcc/fortran/trans-array.c index b85819e..08ce144 100644 --- a/gcc/fortran/trans-array.c +++ b/gcc/fortran/trans-array.c @@ -4819,7 +4819,7 @@ gfc_conv_array_parameter (gfc_se * se, gfc_expr * expr, gfc_ss * ss, int g77) { tree ptr; tree desc; - tree tmp; + tree tmp = NULL_TREE; tree stmt; tree parent = DECL_CONTEXT (current_function_decl); bool full_array_var, this_array_result; |