This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/34657] program-unit MY_SUB imports symbol MY_SUB



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]