------- Comment #4 from jvdelisle at gcc dot gnu dot org 2007-07-17 04:26 ------- It does not work with WRITE. If you replace the PRINT statement inside foo with an equivalent WRITE statement, you get the same error. The public :: print symbol is getting used by the PRINT statement rather than a new symbol.
I will work on this a bit. -- jvdelisle at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |jvdelisle at gcc dot gnu dot |dot org |org Status|NEW |ASSIGNED Last reconfirmed|2007-07-13 23:45:42 |2007-07-17 04:26:43 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32760