This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, Fortran] PR51816 - fix USE of intrinsic operators
- From: Paul Richard Thomas <paul dot richard dot thomas at gmail dot com>
- To: Tobias Burnus <burnus at net-b dot de>, fortran at gcc dot gnu dot org, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 14 Jan 2012 12:46:21 +0100
- Subject: Re: [Patch, Fortran] PR51816 - fix USE of intrinsic operators
Dear Tobias,
> This patch fixes two issues related to intrinsic operators:
>
> a) No error for nonexisting operators:
> USE m, operator(*)
>
>
> b) An bogus error if one tried to use-associate the same operator multiple times:
> USE m, operator(+), operator(+)
>
> Those are old issues. New issue (and thus the PR is marked as regression) is that the bogus error now also is printed for:
> USE m, operator(+)
> USE m, operator(+)
>
> Build and regtested on x86-64-linux.
> OK for trunk?
This was quite useful for me - I had got quite behind with development
of module.c; even the documentation on the wiki is badly out of date.
I will update this, as soon as I have a spare moment. :-)
This is OK for trunk.
Thanks for the patch!
Paul