This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/33387] New: Fortran front-end should translate intrinsics by calling C99 function instead of libgfortran functions
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Sep 2007 09:54:26 -0000
- Subject: [Bug fortran/33387] New: Fortran front-end should translate intrinsics by calling C99 function instead of libgfortran functions
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Some Fortran intrinsics, like NEAREST or EXPONENT, are translated into calls to
libgfortran functions, which in turn call C99 functions. We could easily
generate C99 calls directly from the front-end, which would enable further
optimization by the middle-end.
The list of intrinsics I think of for which we can do that is: EXPONENT,
FRACTION, NEAREST, RRSPACING, SET_EXPONENT and SPACING.
--
Summary: Fortran front-end should translate intrinsics by calling
C99 function instead of libgfortran functions
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: missed-optimization
Severity: normal
Priority: P3
Component: fortran
AssignedTo: fxcoudert at gcc dot gnu dot org
ReportedBy: fxcoudert at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33387