[patch,fortran] PR69043 Trying to include a directory causes an infinite loop
Jerry DeLisle
jvdelisle@charter.net
Sun Mar 13 02:23:00 GMT 2016
I plan to commit the attached patch and test case under simple and obvious tomorrow.
Regression tested on x86-64-linux.
Regards,
Jerry
2016-03-13 Jerry DeLisle <jvdelisle@gcc.gnu.org>
Jim MacArthur <jim.macarthur@codethink.co.uk>
PR fortran/69043
* scanner.c (load_file): Check that included file is not a directory.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr69043.diff
Type: text/x-patch
Size: 1241 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20160313/a3462a6a/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: include_9.f90
Type: text/x-fortran
Size: 195 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20160313/a3462a6a/attachment-0001.bin>
More information about the Fortran
mailing list