This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [gfortran,patch] Fix zero-length substrings
- From: Paul Brook <paul at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: FX Coudert <fxcoudert at gmail dot com>, "fortran at gcc dot gnu dot org List" <fortran at gcc dot gnu dot org>
- Date: Thu, 8 Jun 2006 22:34:48 +0100
- Subject: Re: [gfortran,patch] Fix zero-length substrings
- Organization: CodeSourcery
- References: <34484EB1-8E26-4730-8ABA-1DE0D7506119@gmail.com>
> + tmp = convert (gfc_charlen_type_node, integer_zero_node);
Use build_int_cst instead.
Paul