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] PR36528 - Cray pointer to function mishandled


Dear Tobias,

> 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!

Thanks

Paul


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