------- Comment #3 from dfranke at gcc dot gnu dot org 2007-05-21 20:07 ------- Confirmed by majority vote.
$> ifort -warn all pr25095.f90 fortcom: Error: pr25095.f90, line 2: This expression cannot be evaluated. [MODULO] DATA (i(MODULO(j,5)),j=1,4) /4*0/ --------^ fortcom: Info: pr25095.f90, line 1: This variable has not been used. [I] INTEGER :: i(10), j -----------^ compilation aborted for pr25095.f90 (code 1) $> sunf95 -w4 pr25095.f90 DATA (i(MODULO(j,5)),j=1,4) /4*0/ ^ "pr25095.f90", Line = 2, Column = 9: ERROR: This function name must not appear in a DATA statement expression. f90comp: 3 SOURCE LINES f90comp: 1 ERRORS, 0 WARNINGS, 0 OTHER MESSAGES, 0 ANSI $> gfortran-svn -v gcc version 4.3.0 20070517 (experimental) still accepts this code. -- dfranke at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2007-05-21 20:07:27 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25095