[Bug fortran/37412] New: No error on repeated declaration

jonasson at hi dot is gcc-bugzilla@gcc.gnu.org
Sun Sep 7 20:52:00 GMT 2008


The following program compiles OK with no message that st is being redefined.

function fun() result(st)
  character(2) st
  character(1) st
  st = '1'
end function fun


-- 
           Summary: No error on repeated declaration
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jonasson at hi dot is


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



More information about the Gcc-bugs mailing list