distinguishing gcc compilation valgrind false positives
Paul Floyd
paulf@free.fr
Wed Nov 24 19:15:27 GMT 2021
On 24/11/2021 20:05, Zdenek Sojka via Gcc wrote:
> Hello,
>
> from time to time, I come upon a testcase that failed during the automated
> runs, but passes during reduction; there are valgrind warnings present,
> however. How do I distinguish what warnings are valid and which are false
> positives? Is there any way gcc could prevent generating the false
> positives?
What makes you think that any are false positives?
Memcheck generally has a low false positive rate (though I am little
biased).
You need to read the source and decide based on that.
A+
Paul
More information about the Gcc
mailing list