[gfortran,patch] Fix zero-length substrings

Paul Brook paul@codesourcery.com
Thu Jun 8 21:54:00 GMT 2006


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



More information about the Gcc-patches mailing list