[PATCH] Report error when -fpre-include can't be opened (PR fortran/88912).

Jakub Jelinek jakub@redhat.com
Mon Feb 4 10:29:00 GMT 2019


On Mon, Feb 04, 2019 at 11:25:19AM +0100, Martin Liška wrote:
> The patch improves error message instead of segfaulting.

Note, fortran patches should be CCed to fortran mailing list.

> Patch can bootstrap on x86_64-linux-gnu and survives regression tests.
> 
> Ready to be installed?
> Thanks,
> Martin
> 
> gcc/fortran/ChangeLog:
> 
> 2019-01-25  Martin Liska  <mliska@suse.cz>
> 
> 	PR fortran/88912
> 	* scanner.c (load_file): Report error for -fpre-include
> 	file and do not ICE.

Ok.

	Jakub



More information about the Fortran mailing list