From 54e2d83caf591eb1ca3e6e8df44d67a4ac44d8fe Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Mon, 10 Jun 2019 11:53:46 +0200 Subject: [PATCH] Add missing ATTR_UNUSED (PR bootstrap/90808). 2019-06-10 Martin Liska PR bootstrap/90808 * libgcov.h: Add ATTRIBUTE_UNUSED. From-SVN: r272114 --- libgcc/ChangeLog | 5 +++++ libgcc/libgcov.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 669041e505f..5448567487c 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,8 @@ +2019-06-10 Martin Liska + + PR bootstrap/90808 + * libgcov.h: Add ATTRIBUTE_UNUSED. + 2019-06-10 Martin Liska * Makefile.in: Add __gcov_one_value_profiler_v2, diff --git a/libgcc/libgcov.h b/libgcc/libgcov.h index 144b4817a37..7f316146d49 100644 --- a/libgcc/libgcov.h +++ b/libgcc/libgcov.h @@ -328,7 +328,7 @@ gcov_get_counter (void) when read value is equal to IGNORE_SCALING. */ static inline gcov_type -gcov_get_counter_ignore_scaling (gcov_type ignore_scaling) +gcov_get_counter_ignore_scaling (gcov_type ignore_scaling ATTRIBUTE_UNUSED) { #ifndef IN_GCOV_TOOL /* This version is for reading count values in libgcov runtime: -- 2.30.2