diff options
author | Tobias Burnus <tobias@codesourcery.com> | 2021-09-24 09:30:51 +0200 |
---|---|---|
committer | Tobias Burnus <tobias@codesourcery.com> | 2021-09-24 09:30:51 +0200 |
commit | 204f56aa65d2496e9f7db86c4aa37d42a336fc5b (patch) | |
tree | 0c631d838c5ac345e701a4b21a7d519744ee85b1 /gcc/gdbhooks.py | |
parent | 4a960d548b7d7d942f316c5295f6d849b74214f5 (diff) | |
download | gcc-204f56aa65d2496e9f7db86c4aa37d42a336fc5b.zip gcc-204f56aa65d2496e9f7db86c4aa37d42a336fc5b.tar.gz gcc-204f56aa65d2496e9f7db86c4aa37d42a336fc5b.tar.bz2 |
Fortran: Improve file-reading error diagnostic [PR55534]
PR fortran/55534
gcc/fortran/ChangeLog:
* scanner.c (load_file): Return void, call (gfc_)fatal_error for
all errors.
(include_line, include_stmt, gfc_new_file): Remove exit call
for failed load_file run.
gcc/testsuite/ChangeLog:
* gfortran.dg/include_9.f90: Add dg-prune-output.
* gfortran.dg/include_23.f90: New test.
* gfortran.dg/include_24.f90: New test.
Diffstat (limited to 'gcc/gdbhooks.py')
0 files changed, 0 insertions, 0 deletions