This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [gfortran] Updates to ISHFT translation
- From: Tobias Schlüter <tobias dot schlueter at physik dot uni-muenchen dot de>
- To: Tobias Schlüter <tobias dot schlueter at physik dot uni-muenchen dot de>
- Cc: GCC Fortran mailing list <fortran at gcc dot gnu dot org>,patch <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 09 Jan 2005 18:16:25 +0100
- Subject: Re: [gfortran] Updates to ISHFT translation
- References: <41E15E09.6050105@physik.uni-muenchen.de>
Tobias Schlüter wrote:
> (signed_type, a), ...))"). This patch fixes this, and reformats a few lines
> in the function.
This description was inaccurate.
> num_bits = convert (TREE_TYPE (arg2),
> build_int_cst (NULL, TYPE_PRECISION (type)));
> - cond = fold (build2 (GE_EXPR, boolean_type_node, width,
> - convert (TREE_TYPE (arg2), num_bits)));
> + cond = fold (build2 (GE_EXPR, boolean_type_node, width, num_bits));
I removed a superfluous conversion here, consider the ChangeLog updated
accordingly.
- Tobi