This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]