This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/35769] inappropriate FORALL error
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Mar 2008 21:27:35 -0000
- Subject: [Bug fortran/35769] inappropriate FORALL error
- References: <bug-35769-15620@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from burnus at gcc dot gnu dot org 2008-03-30 21:27 -------
Confirm. I agree that it is valid (although bad style) code.
I think there should be no warning printed if a index-name is used in the
scalar-mask-expr. Otherwise, if it is neither used in the scalar-mask-expr nor
in the forall-body-construct, I think it makes sense to print a warning; this
is actually was ifort does.
--
burnus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |rejects-valid
Last reconfirmed|0000-00-00 00:00:00 |2008-03-30 21:27:35
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35769