aarch64: Fixed unused variable warning in aarch64-unwind.h

libgcc/
	* config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
	unused variable warning.
This commit is contained in:
Wei Wentao 2020-09-17 10:40:23 +01:00 committed by Richard Sandiford
parent 21138a4e9b
commit ec7ef30421
1 changed files with 2 additions and 1 deletions

View File

@ -55,7 +55,8 @@ aarch64_cie_signed_with_b_key (struct _Unwind_Context *context)
static inline void *
aarch64_demangle_return_addr (struct _Unwind_Context *context,
_Unwind_FrameState *fs, _Unwind_Word addr_word)
_Unwind_FrameState *fs ATTRIBUTE_UNUSED,
_Unwind_Word addr_word)
{
void *addr = (void *)addr_word;
if (context->flags & RA_SIGNED_BIT)