This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/37635] Fortran 2008: Support LEADZ / TRAILZ
- From: "kargl at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Sep 2008 16:19:49 -0000
- Subject: [Bug fortran/37635] Fortran 2008: Support LEADZ / TRAILZ
- References: <bug-37635-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from kargl at gcc dot gnu dot org 2008-09-24 16:19 -------
(In reply to comment #0)
> For compile-time simplification, MPFR does not seem to provide a ready-to-use
> function; if one cooks up something oneself, one needs to check endian issues
> (though there might be none).
I think you mean GMP because we're concerned with INTEGER types.
See mpz_scan0 and mpz_scan1.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37635