This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [PATCH, Fortran, v2] Fix deallocation of nested derived typed components
- From: Dominique d'Humières <dominiq at lps dot ens dot fr>
- To: Andre Vehreschild <vehre at gmx dot de>
- Cc: Fortran List <fortran at gcc dot gnu dot org>, GCC-Patches-ML <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 4 Dec 2016 00:59:00 +0100
- Subject: Re: [PATCH, Fortran, v2] Fix deallocation of nested derived typed components
- Authentication-results: sourceware.org; auth=none
- References: <5B28CFDC-65D8-4FD1-8588-1100E1997FD9@lps.ens.fr> <20161203125132.3a0e6995@vepi2> <7A541266-DB7C-4A4D-BF06-B47DEB96CCF4@lps.ens.fr> <20161203195128.03b5a90a@vepi2>
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] f90/bug% gfc /opt/gcc/work/libgomp/testsuite/libgomp.fortran/allocatable2.f90 -fopenmp
/opt/gcc/work/libgomp/testsuite/libgomp.fortran/allocatable2.f90:46:0:
if (l.or.allocated (a)) call abort
Error: incorrect sharing of tree nodes
a.data
a.data = 0B;
/opt/gcc/work/libgomp/testsuite/libgomp.fortran/allocatable2.f90:46:0: internal compiler error: verify_gimple failed
Dominique
> Le 3 déc. 2016 à 19:51, Andre Vehreschild <vehre@gmx.de> a écrit :
>
> 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 course with appropriate Changelog-entry.
>
> Regards,
> Andre