[PATCH] Fix PR pch/68758

Martin Liška mliska@suse.cz
Wed Jan 27 12:52:00 GMT 2016


Hello.

As mentioned in: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68758#c5, I consider
more logic to encapsulate valgrind annotation magic within a ENABLE_VALGRIND_ANNOTATIONS
macro rather than ENABLE_VALGRIND_CHECKING.

With patch applied, ggc invalid reads/writes, reported by valgrind tool, are gone.
The patch can survive regression tests and bootstrap on x86_64-linux-gnu?

Ready for trunk?
Thanks,
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-PR-pch-68758.patch
Type: text/x-patch
Size: 2040 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20160127/cbb6608f/attachment.bin>


More information about the Gcc-patches mailing list