http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47311
--- Comment #18 from Pawel Sikora <pluto at agmk dot net> 2011-01-17 19:37:54 UTC --- (In reply to comment #17) > If there's some easy way we can add a valgrind exception for these > functions to the gcc source tree, I'd be open to do so. But I also don't > want to figure out how to do that myself. following file passed to valgrind's --suppressions option works for me. { gcc_search_line_sse2_is_correct Memcheck:Addr8 fun:search_line_sse2 } { gcc_search_line_sse2_is_correct Memcheck:Addr8 fun:_ZL16search_line_sse2PKhS0_ } { gcc_search_line_sse42_is_correct Memcheck:Addr8 fun:search_line_sse42 } { gcc_search_line_sse42_is_correct Memcheck:Addr8 fun:_ZL17search_line_sse42PKhS0_ } mangled variants are dedicated for --enable-build-with-cxx build.