]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
aarch64 : Fix a forward declaration signature to match the implementation.
authorFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Mon, 21 Dec 2020 21:06:59 +0000 (22:06 +0100)
committerIain Sandoe <iain@sandoe.co.uk>
Fri, 1 Jan 2021 10:15:59 +0000 (10:15 +0000)
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.

gcc/config/aarch64/driver-aarch64.c

index 8840a2d9486c89c7f8bb7438df712f82c25ef941..d99834c99896f8b54c8fb533f14193493baf610e 100644 (file)
@@ -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
 {