PR fortran/24176
* parse.c (gfc_parse_file): Exit early for empty files.
* gfortran.fortran-torture/compile/empty.f90: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104984
138bc75d-0d04-0410-961f-
82ee72b054a4
+2005-10-05 Richard Guenther <rguenther@suse.de>
+
+ PR fortran/24176
+ * parse.c (gfc_parse_file): Exit early for empty files.
+
2005-10-03 Steve Ellcey <sje@cup.hp.com>
* fortran/trans-types.c (gfc_init_kinds): Only pass float, double,
seen_program = 0;
+ /* Exit early for empty files. */
+ if (gfc_at_eof ())
+ goto done;
+
loop:
gfc_init_2 ();
st = next_statement ();
+2005-10-05 Richard Guenther <rguenther@suse.de>
+
+ PR fortran/24176
+ * gfortran.fortran-torture/compile/empty.f90: New testcase.
+
2005-10-05 Nathan Sidwell <nathan@codesourcery.com>
PR c++/23513