This is the mail archive of the
mailing list for the GCC project.
Re: [Patch, fortran] PR36528 - Cray pointer to function mishandled
- From: Paul Richard Thomas <paul dot richard dot thomas at gmail dot com>
- To: Tobias Burnus <burnus at net-b dot de>
- Cc: "fortran at gcc dot gnu dot org" <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 12 Feb 2009 15:37:48 +0100
- Subject: Re: [Patch, fortran] PR36528 - Cray pointer to function mishandled
- References: <email@example.com> <4993EB5D.firstname.lastname@example.org>
> OK. Thanks for the patch. As it only touches cray pointers, it might
> even be ok for 4.4.
I wondered the same too. To my amazement, the patch also fixes
PR36703, after some errors in the testcase are corrected (Most notably
'my_message' must be allocated!). I am amazed because that is the
most wonderfully convoluted bit of code that I have seen in a while.
I love the trick of using bind(C, name="xyz") to link bits of fortran
code that are private:-)
> Note: This "only" fixes problem (b) but not (a) ["<<<< Unknown tree:"];
> whether issue (c) exists at all, I have not checked.
Yes, you are right about a). I must understand first what it means,
especially in light of the code working. As I said on the PR, I have
done some investigation of c) but have not completed it. I will work
on both and repost the patch accordingly. Maybe 4.5 is the most
appropriate home for this!