This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] Check the STRING_CSTs in varasm.c
On 08/17/2018 06:13 AM, Bernd Edlinger wrote:
> Yes, there is a JIT code gen bug, that was caught by the assertion in my
> [PATCH] Fix not properly nul-terminated string constants in JIT
THanks for the reference. I didn't have it in my queue.
> That is a simple bug, which means, that the JIT FE was never able to
> assemble strings > 200 character length.
> Fixing a bug like that makes me I wonder, if there is any test coverage
> for JIT except the gcc test suite itself.
Nothing I'm aware of except the gcc testsuite itself -- it was more of a
research project to find out what we'd need to fix in GCC if we ever
wanted to be able to use it as a JIT.