This is the mail archive of the gcc-bugs@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]

[Bug fortran/67419] gfortran.dg/large_real_kind_2.F90 FAILs


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67419

--- Comment #9 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> ---
> --- Comment #7 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> ---
> (In reply to ro@CeBiTec.Uni-Bielefeld.DE from comment #5)
>> If I drop the __builtin_ and include <stdio.h> and <math.h> instead, I
>> get the expected
>
> Then the math.h header is playing tricks and GCC is not aware. This need to be
> fixed in the solaris back-end (the same sort of thing happened with darwin in
> the past, see darwin_patch_builtin in gcc/config/darwin.c).
>
> Best bet is to check in math.h how sqrtl() is defined. And then check the
> assembly code for both the __builtin_sqrtl() and the header-defined sqrtl().

That's what I'll do next, together with comparing S11 and S12 and -O0
with -O1.

Thanks.
        Rainer


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