From 52b365df7c0ce0ab9f42458d53abd6d0f4eb5eb7 Mon Sep 17 00:00:00 2001 From: aldot Date: Sun, 7 Jan 2007 16:40:42 +0000 Subject: [PATCH] fortran/ChangeLog 2007-01-07 Bernhard Fischer * trans-array.c (gfc_trans_create_temp_array, gfc_array_init_size): Commentary typo fix. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120550 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/fortran/ChangeLog | 5 +++++ gcc/fortran/trans-array.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 5615d1f91a62..6b03a759bc18 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,8 @@ +2007-01-07 Bernhard Fischer + + * trans-array.c (gfc_trans_create_temp_array, gfc_array_init_size): + Commentary typo fix. + 2007-01-07 Bernhard Fischer PR fortran/27698 diff --git a/gcc/fortran/trans-array.c b/gcc/fortran/trans-array.c index 86e565781203..b924a414d8a9 100644 --- a/gcc/fortran/trans-array.c +++ b/gcc/fortran/trans-array.c @@ -680,7 +680,7 @@ gfc_trans_create_temp_array (stmtblock_t * pre, stmtblock_t * post, if (function) { - /* Check wether the size for this dimension is negative. */ + /* Check whether the size for this dimension is negative. */ cond = fold_build2 (LE_EXPR, boolean_type_node, tmp, gfc_index_zero_node); @@ -3263,7 +3263,7 @@ gfc_array_init_size (tree descriptor, int rank, tree * poffset, /* Calculate the size of this dimension. */ size = fold_build2 (PLUS_EXPR, gfc_array_index_type, se.expr, size); - /* Check wether the size for this dimension is negative. */ + /* Check whether the size for this dimension is negative. */ cond = fold_build2 (LE_EXPR, boolean_type_node, size, gfc_index_zero_node); if (n == 0) -- 2.47.3