trans-intrinsic.c (build_fixbound_expr): Clarify comment, fix comment typo.

* trans-intrinsic.c (build_fixbound_expr): Clarify comment, fix
comment typo.

From-SVN: r92274
This commit is contained in:
Tobias Schlüter 2004-12-16 20:10:18 +01:00 committed by Tobias Schlüter
parent f33bcdae77
commit 4fdb5c7125
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2004-12-16 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
* trans-intrinsic.c (build_fixbound_expr): Clarify comment, fix
comment typo.
2004-12-15 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
PR fortran/18993

View File

@ -214,9 +214,9 @@ gfc_conv_intrinsic_conversion (gfc_se * se, gfc_expr * expr)
se->expr = convert (type, arg);
}
/* This is needed because the gcc backend only implements FIX_TRUNC_EXPR
TRUNC(x) = INT(x) <= x ? INT(x) : INT(x) - 1
/* This is needed because the gcc backend only implements
FIX_TRUNC_EXPR, which is the same as INT() in Fortran.
FLOOR(x) = INT(x) <= x ? INT(x) : INT(x) - 1
Similarly for CEILING. */
static tree