From patchwork Wed Jun 9 09:40:51 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [fortran] Fix comment in f95-lang.c Date: Tue, 08 Jun 2010 23:40:51 -0000 From: FX X-Patchwork-Id: 55064 Message-Id: <2A7D0E8D-951E-4067-B128-2D605CC82233@gmail.com> To: Fortran List Cc: gcc-patches@gcc.gnu.org Since I'm currently working on the topic of builtins in the Fortran front-end: To close PR43040 (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43040), I've checked that the comment below in f95-lang.c is incorrect. We do indeed define the family of round() builtins with the same prototype as in C, so there is not a problem. OK to commit and close PR43040? FX 2010-06-09 Francois-Xavier Coudert PR fortran/43040 * f95-lang.c (gfc_init_builtin_functions): Remove comment. Index: f95-lang.c =================================================================== --- f95-lang.c (revision 160457) +++ f95-lang.c (working copy) @@ -755,8 +755,6 @@ gfc_init_builtin_functions (void) #include "mathbuiltins.def" - /* We define these separately as the fortran versions have different - semantics (they return an integer type) */ gfc_define_builtin ("__builtin_roundl", mfunc_longdouble[0], BUILT_IN_ROUNDL, "roundl", true); gfc_define_builtin ("__builtin_round", mfunc_double[0],