]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/30236 ([4.1 only]alternate-return subroutine in generic interface cause...
authorPaul Thomas <pault@gcc.gnu.org>
Tue, 19 Dec 2006 17:02:20 +0000 (17:02 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Tue, 19 Dec 2006 17:02:20 +0000 (17:02 +0000)
commit26f2ca2b6f05e0fac53cee2cfe6ab99839fd0cb9
treeefb961a815e927c547538f0fdbf89825777023fb
parent400ebff4948b6c5dfdb5a637a7b2877dacd57a1c
re PR fortran/30236 ([4.1 only]alternate-return subroutine in generic interface causes ice/segfault)

2006-12-19  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.

(check_interface1): Change final argument from int to bool
in the function and all references.

2006-12-19  Paul Thomas <pault@gcc.gnu.org>

PR fortran/30236
* gfortran.dg/altreturn_3.f90: New test.

* gfortran.dg/char_result_12.f90: Fix comment typos.

From-SVN: r120052
gcc/fortran/ChangeLog
gcc/fortran/interface.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/altreturn_3.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/char_result_12.f90