------- Comment #1 from fxcoudert at gcc dot gnu dot org 2005-11-26 18:56 ------- ## gfortran ## In file foo.f90:7
entry bar () 1 Internal Error at (1): insert_bbt(): Duplicate key found! ## g95 ## In file foo.f90:7 entry bar () 1 Error: ENTRY 'bar' at (1) cannot be of type CHARACTER(1) ## Intel ## fortcom: Error: foo.f90, line 7: The character lengths of the functions must not be different. [BAR] entry bar () --------------^ fortcom: Error: foo.f90, line 11: Error in opening the Library module file. [T] USE T ----^ fortcom: Warning: foo.f90, line 12: This name has not been given an explicit type. [FOO] write(6,*) foo() -----------^ fortcom: Warning: foo.f90, line 13: This name has not been given an explicit type. [BAR] write(6,*) bar() -----------^ compilation aborted for foo.f90 (code 1) ## Portland ## PGF90-S-0037-Contradictory data type specified for bar (foo.f90: 4) 0 inform, 0 warnings, 1 severes, 0 fatal for foo ## Sun ## MODULE t ^ "foo.f90", Line = 1, Column = 8: ERROR: The compiler has detected errors in module "T". No module information file will be created for this module. character*4 bar ^ "foo.f90", Line = 4, Column = 21: ERROR: The type attributes for entry points "FOO" and "BAR" conflict. USE T ^ "foo.f90", Line = 11, Column = 5: ERROR: Module "T" has compile errors, therefore declarations obtained from the module via the USE statement may be incomplete. -- fxcoudert at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords| |ice-on-invalid-code Last reconfirmed|0000-00-00 00:00:00 |2005-11-26 18:56:14 date| | Summary|better diagnostic needed |insert_bbt(): Duplicate key | |found! http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25047