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

Reply via email to