valgrind: added suppression on optimized code
authorDan Fandrich <dan@coneharvesters.com>
Fri, 14 Feb 2014 07:41:10 +0000 (08:41 +0100)
committerDan Fandrich <dan@coneharvesters.com>
Fri, 14 Feb 2014 07:48:23 +0000 (08:48 +0100)
commit25600bdf750906e9f18ca234f00edc91b777b225
treec019e0d91246f572067b74598286fb2b3bf83c3c
parent1813a77b024d03b59fe5b591a5c5ecced02a9e66
valgrind: added suppression on optimized code

gcc 4.7.2 with -O2 will optimize Curl_connect by inlining some
functions two levels deep, which makes the valgrind suppression
fail to match. The underlying reason for these idna suppressions is
a gcc strlen optimization when compiling libidn; compiling it with
-fno-builtin-strlen makes this suppression unnecessary.
tests/valgrind.supp