[PATCH] Fix warnings seen by clang in gcc/symbol-summary.h.

Martin Liška mliska@suse.cz
Wed Jun 26 06:46:00 GMT 2019


Hi.

The patch is about missing argument to function call and
unused arguments in symbol-summary.h.

Patch can bootstrap on x86_64-linux-gnu and survives regression tests.

Ready to be installed?
Thanks,
Martin

gcc/ChangeLog:

2019-06-25  Martin Liska  <mliska@suse.cz>

	* symbol-summary.h (traverse): Pass
	argument a to the call of callback.
	(gt_ggc_mx): Mark arguments as unused.
	(gt_pch_nx): Likewise.
---
 gcc/symbol-summary.h | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-warnings-seen-by-clang-in-gcc-symbol-summary.h.patch
Type: text/x-patch
Size: 1348 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20190626/c4460d26/attachment.bin>


More information about the Gcc-patches mailing list