http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58225
Bug ID: 58225 Summary: In show_locus at fortran/error.c:391 pointer beyond end of line Product: gcc Version: 4.8.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: zeccav at gmail dot com In show_locus at fortran/error.c:391 statement spaces = gfc_widechar_display_length (*p++); *p points beyond the end of input line, cmax too big Maybe connected to bug 54382? two versions of test case follow ! free format !1 format(i5) !print'()j' !END ! fixed format !3 FORMAT(BZ, (I5, F5.0, BN, F5.2, 2I5)) ! print '()J' ! END