[Patch, fortran] PR21432 - allow non-standard PRINT namelist-ping

FX Coudert fxcoudert@gmail.com
Tue Aug 9 16:05:00 GMT 2005


Good to go, provided you change the following points:

   * At the end of the patch,

> +         if (k == M_WRITE)
> +   	goto syntax;
> +   
> + 
>         if (k == M_WRITE)
>   	goto syntax;

This duplicates the (k == M_WRITE) test. Probably a copy-paste error.


   * The testcase you gave in the first mail 
(http://gcc.gnu.org/ml/fortran/2005-08/msg00069.html) is OK, but it 
needs more than a { dg-do compile }. Add a dg-warning to check that the 
good warning is emitted (since testcases are compiled with -pedantic 
unless explicitly told no to).

FX

PS for Thomas: i'll be around all evening, so if you have any questions 
about one of my patches please ask (IRC or phone).



More information about the Fortran mailing list