[Bug fortran/15292] libgfortran depends on c99 functionality round and roundf

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed May 5 11:37:00 GMT 2004


------- 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



More information about the Gcc-bugs mailing list