This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [Patch, Fortran] PR fortran/37425: Finish type-bound operators
- From: Paul Richard Thomas <paul dot richard dot thomas at gmail dot com>
- To: Tobias Schlüter <tobias dot schlueter at physik dot uni-muenchen dot de>
- Cc: Daniel Kraft <d at domob dot eu>, Tobias Burnus <burnus at net-b dot de>, Fortran List <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 25 Aug 2009 07:04:37 +0200
- Subject: Re: [Patch, Fortran] PR fortran/37425: Finish type-bound operators
- References: <4A8B1873.3060507@domob.eu> <4A90FBF8.70405@net-b.de> <4A9285A1.1070307@domob.eu> <4A9309EB.7070603@physik.uni-muenchen.de>
Tobi,
> assignments, the same check is needed for non-elemental subroutines. ?Paul,
> can you confirm this last thing I said?
I sincerely hope that it is!
>
> So, I think you could construct a testcase that breaks if you use EXEC_CALL
> instead EXEC_ASSIGN_CALL. ?This should also go into the testsuite.
EXEC_ASSIGN_CALL was introduced to fix PR25746, I think that you will
find that the associated elemental_subroutine_3.f90 tests the
dependency checking.
Whether it is worth testing a non-elemental case or not, I do not
know. Perhaps the best would be to do that in
elemental_subroutine_3.f90 and rename it to assign_* something or
other. At the same time, the comment should be changed.
Cheers
Paul