------- Comment #3 from jvdelisle at gcc dot gnu dot org 2006-04-26 04:10 ------- I am not sure (emphasis on not sure) I agree with this. But I can explain what it is doing. It is correctly printing out the letter 'n' then its looking for the first data item and finds the integer in the list, it reverts on the format statement, performs it and then its done because there are no more data items. At least its logical. :)
I wonder if this is a case of illegal code. Intel errors on "infinite format". In other words it keeps reverting looking for a format specifier. gfortran is format driven until there is no more data. g77 exactly matches gfortran in behavior. We should check the standard. Is it required that there is a data format specifier? If not, then this could be an enhancement. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27304