This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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] PR30236 - alternate-return subroutine in generic interface causes ice/segfault


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


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