Re: [Patch, Fortran] Prevent segfault on illegal input

2015-03-16 Thread Andre Vehreschild
Hi Tobias, hi all, thanks for the review. Commited as r221455: r221455 | vehre | 2015-03-16 11:29:59 +0100 (Mo, 16. Mär 2015) | 13 Zeilen gcc/fortran/ChangeLog: 2015-03-16 Andre Vehreschild * resolve.c: Prevent segfault on illegal input. gcc/testsuite/ChangeLog: 2015-03-16 Andre

Re: [Patch, Fortran] Prevent segfault on illegal input

2015-03-13 Thread Tobias Burnus
Andre Vehreschild wrote: > during debugging I found a segfault of gfortran, when it encounters an illegal > fortran code. The mistake in Fortran is flagged correctly, but later gfortran > crashes. This patch prevents the crash. > > Bootstraps and regtest ok on x86_64-linux-gnu. > Ok for trunk? OK.

[Patch, Fortran] Prevent segfault on illegal input

2015-03-13 Thread Andre Vehreschild
Hi all, during debugging I found a segfault of gfortran, when it encounters an illegal fortran code. The mistake in Fortran is flagged correctly, but later gfortran crashes. This patch prevents the crash. Bootstraps and regtest ok on x86_64-linux-gnu. Ok for trunk? Regards, Andre -- An