bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] misc: port better to gcc -fsanitize=address


From: Paul Eggert
Subject: Re: [PATCH] misc: port better to gcc -fsanitize=address
Date: Sun, 7 Feb 2016 07:54:01 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1

Pádraig Brady wrote:
This does add overhead though it's less of an issue at configure time and tests,
and so probably not worth complicating with #ifdef lint as is done in coreutils
and a few places in gnulib.

I didn't know that there were already workarounds for this problem with #ifdef lint. I prefer this sort of thing without #ifdef lint, so that the configure-time tests and the test cases also test that the relevant objects can be freed. Since these tests don't affect production runtime, and have only an insignificant effect on configure and testing runtime, I'm not worried about their runtime overhead.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]