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/32860] New: Support %ld (for "long") for gfc_warning


interface.c's compare_actual_formal calls

            gfc_warning ("Character length of actual argument shorter "
                        "than of dummy argument '%s' (%d/%d) at %L",
                        f->sym->name, (int) actual_size,
                        (int) formal_size, &a->expr->where);

Problem: If the formal or actual size exceeds (int) the message is bogus.


-- 
           Summary: Support %ld (for "long") for gfc_warning
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: diagnostic
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org


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


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