]> git.ipfire.org Git - thirdparty/gcc.git/commit
trans-stmt.c (struct temporary_list): Delete.
authorRoger Sayle <roger@eyesopen.com>
Sat, 18 Feb 2006 17:26:35 +0000 (17:26 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Sat, 18 Feb 2006 17:26:35 +0000 (17:26 +0000)
commit3891cee2305bb50ede9598793afbedc761f6bcd7
tree845df317e73a9d6012862b3e3c03232be1cd595e
parent4ea42ebadb93edf5f33b751cf53fbfee8a595ff8
trans-stmt.c (struct temporary_list): Delete.

* trans-stmt.c (struct temporary_list): Delete.
(gfc_trans_where_2): Major reorganization.  Remove no longer needed
TEMP argument.  Allocate and deallocate the control mask and
pending control mask locally.
(gfc_trans_forall_1): Delete TEMP local variable, and update
call to gfc_trans_where_2.  No need to deallocate arrays after.
(gfc_evaluate_where_mask): Major reorganization.  Change return
type to void.  Pass in parent execution mask, MASK, and two
already allocated mask arrays CMASK and PMASK.  On return
CMASK := MASK & COND, PMASK := MASK & !COND.  MASK, CMASK and
CMASK may all be NULL, or refer to the same temporary arrays.
(gfc_trans_where): Update call to gfc_trans_where_2.  We no
longer need a TEMP variable or to deallocate temporary arrays
allocated by gfc_trans_where_2.

From-SVN: r111245
gcc/fortran/ChangeLog
gcc/fortran/trans-stmt.c