Re: [PATCH, Fortran, v2] Fix deallocation of nested derived typed components

2016-12-03 Thread Dominique d'Humières
Hi Andre, I fear the patch is causing another set of failures with -fopenmp: FAIL: libgomp.fortran/allocatable11.f90 -O0 (internal compiler error) … FAIL: libgomp.fortran/allocatable8.f90 -g -flto (test for excess errors) of the kind collect2: error: ld returned 1 exit status [Book15]

Re: [PATCH, Fortran, v2] Fix deallocation of nested derived typed components

2016-12-03 Thread Andre Vehreschild
Hi all, @Dominique: Thanks for checking. And also for pointing out that the initial version of the patch ICEd on some already closed PRs. The objective of those PRs does not seem to be covered by the current testsuite. I therefore additionally propose to add attached testcase. Ok for trunk? Of

Re: [PATCH, Fortran, v2] Fix deallocation of nested derived typed components

2016-12-03 Thread Dominique d'Humières
> I also have addressed the ICEs with proc_pointer components. Confirmed, the patch LGTM. Thanks, Dominique

Re: [PATCH, Fortran, v2] Fix deallocation of nested derived typed components

2016-12-03 Thread Andre Vehreschild
Hi Dominique, thanks for immediately finding the issues. Please find an updated and extended patch. This time trunk w/o this patch ICEs on compiling the _4-testcase and accesses freed memory for the _3-testcase. Furthermore are now components of derived-typed coarrays deregistered correctly