[Bug fortran/30400] ANY not accepted as mask in FORALL

pault at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Feb 18 19:52:00 GMT 2007



------- Comment #3 from pault at gcc dot gnu dot org  2007-02-18 19:52 -------
Subject: Bug 30400

Author: pault
Date: Sun Feb 18 19:52:16 2007
New Revision: 122102

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=122102
Log:
2007-02-18  Roger Sayle  <roger@eyesopen.com>
            Paul Thomas <pault@gcc.gnu.org>

        PR fortran/30400
        * match.c (match_forall_iterator): Use gfc_match_expr instead
        of gfc_match_variable to match the iterator variable.  Return
        MATCH_NO if not a variable.  Remove the reset of the symbol's
        flavor in cleanup.

2007-02-18  Roger Sayle  <roger@eyesopen.com>

        * gfortran.dg/forall_10.f90: New test case.

Added:
    trunk/gcc/testsuite/gfortran.dg/forall_10.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/match.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30400



More information about the Gcc-bugs mailing list