]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/fortran/trans-stmt.cc
trans-stmt.c (gfc_evaluate_where_mask): Allow the NMASK argument to be NULL to indica...
authorRoger Sayle <roger@eyesopen.com>
Mon, 6 Feb 2006 18:48:38 +0000 (18:48 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Mon, 6 Feb 2006 18:48:38 +0000 (18:48 +0000)
commit42e73749c73920b20662eef2d88fb2326e4e9509
treec68395044c83ac4156edfdb53a7828421655f21c
parent4505055765863df3942fbef63dcc663be1b480c7
trans-stmt.c (gfc_evaluate_where_mask): Allow the NMASK argument to be NULL to indicate that the not mask isn't required.

* trans-stmt.c (gfc_evaluate_where_mask): Allow the NMASK argument
to be NULL to indicate that the not mask isn't required.
(gfc_trans_where_2): Remove PMASK argument.  Avoid calculating the
pending mask for the last clause of a WHERE chain.  Update recursive
call.
(gfc_trans_forall_1): Update call to gfc_trans_where_2.
(gfc_trans_where): Likewise.

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