Message ID | 20101025161427.GA1843@troutmask.apl.washington.edu |
---|---|
State | New |
Headers | show |
Index: gcc/fortran/scanner.c =================================================================== --- gcc/fortran/scanner.c (revision 165917) +++ gcc/fortran/scanner.c (working copy) @@ -1867,7 +1867,9 @@ include_line (gfc_char_t *line) read by anything else. */ filename = gfc_widechar_to_char (begin, -1); - load_file (filename, NULL, false); + if (load_file (filename, NULL, false) == FAILURE) + exit (1); + gfc_free (filename); return true; }