This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: trunk build error in libgfortran/ieee/ieee_arithmetic.F90
- From: Janus Weil <janus at gcc dot gnu dot org>
- To: gfortran <fortran at gcc dot gnu dot org>
- Date: Thu, 15 Dec 2016 16:48:07 +0100
- Subject: Re: trunk build error in libgfortran/ieee/ieee_arithmetic.F90
- Authentication-results: sourceware.org; auth=none
- References: <CAKwh3qg85tCV8WnRLyD0tLjw8mMgUH02dE+AxmUnacJL=r8RUg@mail.gmail.com>
2016-12-15 16:09 GMT+01:00 Janus Weil <janus@gcc.gnu.org>:
> Hi all,
>
> when building the current trunk, I ran into the following error in libgfortran:
>
>
> /home/janus/gcc/trunk/libgfortran/ieee/ieee_arithmetic.F90:755:47:
>
> elemental logical function IEEE_CLASS_TYPE_EQ (X, Y) result(res)
> 1
> /home/janus/gcc/trunk/libgfortran/ieee/ieee_arithmetic.F90:767:47:
>
> elemental logical function IEEE_ROUND_TYPE_EQ (X, Y) result(res)
> 2
> Error: Ambiguous interfaces in intrinsic '==' operator for
> ‘ieee_class_type_eq’ at (1) and ‘ieee_round_type_eq’ at (2)
>
>
> Does anyone else see this or is it just me?
Oh well. In fact I was not building a clean trunk, but trying to test
a patch. However, I did not notice that the above error actually
appeared in Fortran code and it did not occur to me at all that it
might be my own fault.
After a bit of reflection it turns out that this wound is clearly
self-inflicted. Sorry for the noise :(
Cheers,
Janus