[Patch, fortran] PR56816: double free on unfinished SELECT TYPE statement

2013-04-14 Thread Mikael Morin
Hello, this fixes a case where an unfinished SELECT TYPE statement was leading to an ICE because at the time the statement was rejected, the compiler tried to free some symbols that had already freed with the SELECT TYPE namespace. The fix moves the namespace allocation and cleanup out of

Re: [Patch, fortran] PR56816: double free on unfinished SELECT TYPE statement

2013-04-14 Thread Thomas Koenig
Hi Mikael, Bootstrapped (with asan) and regression tested on x86_64-linux. OK for trunk/4.8? OK for both. Thanks for the patch! Thomas