Re: [GSoC 2026] kf_strnlen implementation and patch submission

David Malcolm via Gcc <[email protected]>
Newsgroups gmane.comp.gcc.devel
Message-ID <[email protected]>
On Tue, 2026-03-24 at 00:52 +0530, Saish Kambali wrote:
> Hi David,

Hi Saish

> 
> Just a quick follow-up on the patch I just submitted on the gcc-
> patches
> mailing list for strnlen implementation.

(see my notes in the other email)

> I have modified accounting for lhs_type to be NULL from previous
> discussions on the mailing test and had sent the proper version to
> the
> mailing list.
> 
> Also, I have verified the patch using ./gcc/xgcc -B./gcc/ -fanalyzer
> -c
> /home/saish/gcc-repo/gcc/gcc/testsuite/gcc.dg/analyzer/strnlen-1.c
> and all
> the test cases have worked properly after proper debugging.

As well as running the test case manually like that, you'll want to
test the test via:

make check-gcc RUNTESTFLAGS="-v -v analyzer.exp=strnlen*"

to make sure all the DejaGnu directives work properly and that nothing
unexpected is happening.

Note that this is a subset of what "make check-gcc" does (albeit with
higher verbosity).

Dave

> 
> All tests were passed with the expected outcomes and I am also
> working
> parallely for the GSoC proposal.
> Looking forward for your guidance on the Patch submitted.
> 
> Yours sincerely
> Saish Kambali.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.