This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [gfortran,patch] Fix zero-length substrings
On Thursday 08 June 2006 22:47, FX Coudert wrote:
> > Use build_int_cst instead.
>
> Done. There are lots of other places in trans-expr.c (and possibly
> other source files) that could do with such a change, actually. What
> is the benefit?
It's faster (convert should end up calling build_int_cst eventually).
Much of the existing code probably predates the invention of built_int_cst.
Paul