diff options
author | Andre Vehreschild <vehre@gcc.gnu.org> | 2016-01-28 12:34:03 +0100 |
---|---|---|
committer | Andre Vehreschild <vehre@gcc.gnu.org> | 2016-01-28 12:34:03 +0100 |
commit | 874108a9050af162504c3769020d40fd498a4be1 (patch) | |
tree | 202e6b9c3587ff2377f83624c9407a69f6045c68 /libcpp/directives.c | |
parent | 30480bcd794f8a0d4e489b8eb3f043b2ab72e7e8 (diff) | |
download | gcc-874108a9050af162504c3769020d40fd498a4be1.zip gcc-874108a9050af162504c3769020d40fd498a4be1.tar.gz gcc-874108a9050af162504c3769020d40fd498a4be1.tar.bz2 |
re PR fortran/62536 (ICE (segfault) for invalid END BLOCK statement)
gcc/fortran/ChangeLog:
2016-01-28 Andre Vehreschild <vehre@gcc.gnu.org>
PR fortran/62536
* decl.c (gfc_match_end): Only unnest and remove BLOCK namespaces
when the END encountered does not match a BLOCK's end.
gcc/testsuite/ChangeLog:
2016-01-28 Andre Vehreschild <vehre@gcc.gnu.org>
PR fortran/62536
* gfortran.dg/block_15.f08: New test.
* gfortran.dg/block_end_error_1.f90: Need to catch additional error
on incorrectly closed BLOCK.
From-SVN: r232919
Diffstat (limited to 'libcpp/directives.c')
0 files changed, 0 insertions, 0 deletions