This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] Handle overlength strings in the C FE
On Thu, 9 Aug 2018, Bernd Edlinger wrote:
> On 08/01/18 22:43, Joseph Myers wrote:
> > On Wed, 1 Aug 2018, Marek Polacek wrote:
> >> I guess you want XALLOCAVAR or XNEWVAR.
> > Not XALLOCAVAR; GCC supports string constants up to 2 GB (minus one byte),
> > which is far too much to put on the stack.
> I assume you want me to use XNEWVEC/XDELETEVEC.
> Attached is a new version using those macros.
> Is it OK for trunk?
This version is OK.
Joseph S. Myers