------- 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