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/37412] No error on repeated declaration



------- Comment #1 from dominiq at lps dot ens dot fr  2008-09-07 21:15 -------
Confirmed with 4.2.3 and 4.3.2, with 4.4.0 (trunk) I get:

[ibook-dhum] f90/bug% gfc -Wall pr37412.f90
pr37412.f90:3.17:

  character(1) st
                1
Warning: Symbol 'st' at (1) already has basic type of CHARACTER

Now I am not sure which statement is the winner. Is this defined somewhere?


-- 


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


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