This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, fortran] PR30236 - alternate-return subroutine in generic interface causes ice/segfault
- From: Paul Thomas <paulthomas2 at wanadoo dot fr>
- To: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>, Fortran List <fortran at gcc dot gnu dot org>, Brooks Moses <brooks dot moses at codesourcery dot com>
- Date: Tue, 19 Dec 2006 19:00:08 +0100
- Subject: Re: [Patch, fortran] PR30236 - alternate-return subroutine in generic interface causes ice/segfault
- References: <45863DD6.3090800@wanadoo.fr> <20061218210543.GA25574@troutmask.apl.washington.edu>
Steve and Brooks,
On Mon, Dec 18, 2006 at 08:05:58AM +0100, Paul Thomas wrote:
2006-12-18 Paul Thomas <pault@gcc.gnu.org>
PR fortran/30236
* interface.c (compare_interfaces): Handle NULL symbols.
(count_types_test): Count NULL symbols, which correspond to
alternate returns.
This is OK.
Thanks
2006-12-18 Paul Thomas <pault@gcc.gnu.org>
PR fortran/30236
* gfortran.dg/generic_11.f90: New test.
Please consider Brooks' comments before committing.
Done and some ... I added extra tests to ensure that not only was the
code surviving to the end but that the alternate entries are resoponding
to the correct input. I also called it altreturn_3.f90 :-)
At the same time I did the int to bool change that you had requested,
Steve, and corrected the typos noted by Jerry.
Paul