This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [Patch, fortran] Clean up of error recovery in DTIO procedures
- From: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- To: Paul Richard Thomas <paul dot richard dot thomas at gmail dot com>
- Cc: "fortran\@gcc.gnu.org" <fortran at gcc dot gnu dot org>, Dominique Dhumieres <dominiq at lps dot ens dot fr>
- Date: Mon, 26 Sep 2016 10:23:54 +0200
- Subject: Re: [Patch, fortran] Clean up of error recovery in DTIO procedures
- Authentication-results: sourceware.org; auth=none
- References: <CAGkQGiLvUx05GgOfqRMwu2z6sQSJahYLP6S78iPVmThSi6siLA@mail.gmail.com> <yddy42iakds.fsf@CeBiTec.Uni-Bielefeld.DE> <CAGkQGiJrMdOXq3WSBZ58=q_EXJjJtCmOihYKmHFUAzD4-dvMiA@mail.gmail.com> <CAGkQGi+Xi+Xhp=ZbpCHbXZDoPdP1dnZ=SFEqXBhWk8sE25-27g@mail.gmail.com>
Hi Paul,
> Dominique has informed me that the earlier patch did not fix this problem.
indeed, it just shifted the SEGV to a different place.
> Although I still cannot reproduce the problem on FC21, I think that I
> can see what the problem is. The declared type of 'chairman' is
> thoroughly broken when it arrives at
> interface.c(gfc_find_specific_dtio_proc). It doesn't even have the
> right name! The key signature is that its flavor is FL_UNKNOWN. The
> attached prevents the code coming anywhere near the call that causes
> the segfault and regtests OK.
I've now managed to run a sparc-sun-solaris2.10 bootstrap with the patch
included and the failures are gone indeed.
Thanks.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University