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]

[fortran,committed] Fix quad-prec NORM2 by creating missing decl for quad-prec BUILT_IN_SQRT


BUILT_IN_SQRT is a bit special in the Fortran front-end, because itâs part of our math built-ins which map one-to-one to Fortran intrinsics (and get special treatment for that), but it is only a built-in we call directly in the front-end when emitting code for NORM2.

I didnât realize this corner case when I first implemented quad-prec in the front-end (now several years ago!). Yet, the fix is simple.

Regtested on x86_64-apple-darwin14. Fixes PR 54656 (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54656).
Committed as revision 226929.

Attachment: sqrt_quad.diff
Description: Binary data


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