From: Francois-Xavier Coudert Date: Mon, 21 Dec 2020 21:06:59 +0000 (+0100) Subject: aarch64 : Fix a forward declaration signature to match the implementation. X-Git-Tag: releases/gcc-10.3.0~477 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=971a5d1b3fd0795b3f78809642d739376d3f47d8;p=thirdparty%2Fgcc.git aarch64 : Fix a forward declaration signature to match the implementation. The argument types given in the forward declaration for aarch64_get_extension_string_for_isa_flags do not match those given in the prototype. This leads to a build fail when 'unsigned long' is not a 64b type. gcc/ * config/aarch64/driver-aarch64.c (aarch64_get_extension_string_for_isa_flags): Adjust signature. --- diff --git a/gcc/config/aarch64/driver-aarch64.c b/gcc/config/aarch64/driver-aarch64.c index 8840a2d9486c..d99834c99896 100644 --- a/gcc/config/aarch64/driver-aarch64.c +++ b/gcc/config/aarch64/driver-aarch64.c @@ -27,8 +27,7 @@ #include "tm.h" /* Defined in common/config/aarch64/aarch64-common.c. */ -std::string aarch64_get_extension_string_for_isa_flags (unsigned long, - unsigned long); +std::string aarch64_get_extension_string_for_isa_flags (uint64_t, uint64_t); struct aarch64_arch_extension {