This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/15292] libgfortran depends on c99 functionality round and roundf
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 May 2004 11:37:15 -0000
- Subject: [Bug fortran/15292] libgfortran depends on c99 functionality round and roundf
- References: <20040505091406.15292.rearnsha@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-05-05 11:37 -------
Confirmed, this is a bug in the Fortran front-end:
/* We define there seperately as the fortran versions have different
semantics (they return an integer type) */
gfc_define_builtin ("__builtin_round", mfunc_double[0],
BUILT_IN_ROUND, "round", true);
gfc_define_builtin ("__builtin_roundf", mfunc_float[0],
BUILT_IN_ROUNDF, "roundf", true);
Maybe the library should provide them but than again C99 has been out of almost 5 years now,
providing basic functions as such as round should be required now for some new languages.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Component|libfortran |fortran
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-05-05 11:37:12
date| |
Target Milestone|--- |tree-ssa
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15292