Avoid crashing when an input file could not be opened
commitc1cc44196c755aeff94df9dea818b030f112e7a3
authordodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 24 Jan 2014 15:34:03 +0000 (24 15:34 +0000)
committerdodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 24 Jan 2014 15:34:03 +0000 (24 15:34 +0000)
tree4a0d530478e4a3581cd9b8579761fcf864874518
parente9185b9db30b857c3906b4000cac94f6ab85f292
Avoid crashing when an input file could not be opened

* input.c (add_file_to_cache_tab): Handle the case where fopen
returns NULL.

Signed-off-by: Dodji Seketeli <dodji@seketeli.org>
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207046 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/input.c