On 24/12/15 16:38, Jim MacArthur wrote:
Botstrapped and tested for regressions on x86_64-pc-linux-gnu. There is
a test case for the bug included.
I missed out the test case when creating the first patch. This one
should have it.
PR fortran/69043
* scanner.c (load_file): Abort and show an
GFortran's scanner appears to go into an infinite loop if you try to
pass a directory to 'include'. This patch will check for a directory
using stat() after fopen() has verified its existence.
I'm assuming stat() will be OK to call here since add_path_to_list uses
it. I've only been able to ch