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/42783] New: [4.5 Regression] Bogus Array bounds violation with optional array argument


Hi,

when compiled with -fbounds-check, the attached code fails at runtime
with the following error:

At line 8 of file gfcbug99.f90
Fortran runtime error: Actual string length does not match the declared one for
dummy argument 'mnem_list' (0/8)

No problem with 4.4.0 or earlier.


-- 
           Summary: [4.5 Regression] Bogus Array bounds violation with
                    optional array argument
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: anlauf at gmx dot de


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


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