public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/33387]  New: Fortran front-end should translate intrinsics by calling C99 function instead of libgfortran functions
@ 2007-09-11  9:54 fxcoudert at gcc dot gnu dot org
  2007-09-11  9:55 ` [Bug fortran/33387] " fxcoudert at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2007-09-11  9:54 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-02-27 14:34 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-11  9:54 [Bug fortran/33387] New: Fortran front-end should translate intrinsics by calling C99 function instead of libgfortran functions fxcoudert at gcc dot gnu dot org
2007-09-11  9:55 ` [Bug fortran/33387] " fxcoudert at gcc dot gnu dot org
2007-09-11  9:55 ` fxcoudert at gcc dot gnu dot org
2007-09-11 13:03 ` fxcoudert at gcc dot gnu dot org
2007-09-22 23:35 ` fxcoudert at gcc dot gnu dot org
2007-09-22 23:36 ` fxcoudert at gcc dot gnu dot org
2008-02-25 12:05 ` fxcoudert at gcc dot gnu dot org
2008-02-27 14:33 ` fxcoudert at gcc dot gnu dot org
2008-02-27 14:34 ` fxcoudert at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).