------- Comment #1 from burnus at gcc dot gnu dot org  2008-01-04 07:29 -------
NAG f95 and g95 print an error:
  Error: USE TEST_MOD in program-unit MY_SUB imports symbol MY_SUB
  Error: Module 'test_mod' at (1) redefines the current program unit 'my_sub'

ifort prints nothing by default and with -stand f95:
  Warning: An interface-block in a subprogram shall not contain an
interface-body for a procedure defined by that subprogram.   [MY_SUB]


-- 

burnus 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         |2008-01-04 07:29:49
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34657

Reply via email to