This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]