[patch, libfortran] PR95647 operator(.eq.) and operator(==) treated differently
Jerry DeLisle
jvdelisle@charter.net
Fri Feb 12 16:35:32 GMT 2021
How do I get permissions set so that I can change status of bug reports
and assign to myself. My permissions got dissolved during some
evolution in the last year.
also
The master branch has been updated by Jerry DeLisle<jvdelisle@gcc.gnu.org>:
https://gcc.gnu.org/g:0631e008adc759cc801d0d034224ee6b4bcf31aa
commit r11-7225-g0631e008adc759cc801d0d034224ee6b4bcf31aa
Author: Steve Kargl<sgk@troutmask.apl.washington.edu>
Date: Fri Feb 12 07:58:16 2021 -0800
On 2/11/21 7:02 PM, Jerry DeLisle wrote:
> The attached patch is another provided from Steve Kargle in the PR
> report.
>
> I have created a test case and regression tested the result.
>
> OK for trunk?
>
> Regards,
>
> Jerry
>
> libgfortran: Fix PR95647 by changing the interfaces of operators .eq.
> and .ne.
>
> The FE converts the old school .eq. to ==,
> and then tracks the ==. The module starts with == and so it does not
> properly overload the .eq. Reversing the interfaces fixes this.
>
> 2021-02-11 Steve Kargl <sgk@troutmask.apl.washington.edu>
>
> libgfortran/ChangeLog:
>
> PR libfortran 95647
> * ieee/ieee_arithmetic.F90: Flip interfaces of operators .eq. to
> == and .ne. to /= .
>
> gcc/testsuite/ChangeLog:
>
> PR libfortran 95647
> * gfortran.dg/ieee/ieee_arithmetic: New test.
>
More information about the Gcc-patches
mailing list