re PR fortran/82009 ([F08] ICE with block construct)
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Wed, 4 Jul 2018 18:08:16 +0000 (18:08 +0000)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Wed, 4 Jul 2018 18:08:16 +0000 (18:08 +0000)
commitfa9371cae02b7ddee8f67e6ce8f1cddc3d8fc0e2
tree12c792ccfabff415ab6cab0bc526087bf9d7587b
parent89bc4ab198a0be9e5b2d493f9b25f7ea3df336ef
re PR fortran/82009 ([F08] ICE with block construct)

2018-07-04  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/82009
* trans-decl.c (gfc_process_block_locals): Delete assert and set
saved_local_decls = NULL_TREE.

* gfortran.dg/block_16.f08. New test.

From-SVN: r262416
gcc/fortran/ChangeLog
gcc/fortran/trans-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/block_16.f08 [new file with mode: 0644]