diff options
author | Jakub Jelinek <jakub@redhat.com> | 2021-12-09 17:55:28 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2021-12-09 17:56:53 +0100 |
commit | fa9f40bacbd187996e03f93086fae1ab9052f51b (patch) | |
tree | 691534e59af3f7aae8dd1c1f9d431f140cfaec16 /gcc/config/aarch64/aarch64-sve-builtins.cc | |
parent | 1486e4bd015423a70eb6fad1f42cb0a381967022 (diff) | |
download | gcc-fa9f40bacbd187996e03f93086fae1ab9052f51b.zip gcc-fa9f40bacbd187996e03f93086fae1ab9052f51b.tar.gz gcc-fa9f40bacbd187996e03f93086fae1ab9052f51b.tar.bz2 |
pch: Fix aarch64 build [PR71934]
On Thu, Dec 09, 2021 at 05:42:10PM +0100, Christophe Lyon wrote:
> This also broke aarch64 I think:
> In file included from
> /tmp/6140018_6.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/config/aarch64/aarch64-sve-builtins.cc:3920:0:
> ./gt-aarch64-sve-builtins.h: In function 'void
> gt_pch_p_19registered_function(void*, void*, gt_pointer_operator, void*)':
> ./gt-aarch64-sve-builtins.h:86:44: error: no matching function for call to
> 'gt_pch_nx(aarch64_sve::function_instance*, void (*&)(void*, void*, void*),
> void*&)'
> gt_pch_nx (&((*x).instance), op, cookie);
Fixed thusly.
2021-12-09 Jakub Jelinek <jakub@redhat.com>
PR pch/71934
* config/aarch64/aarch64-sve-builtins.cc (gt_pch_nx): Change type of
second argument from function with 2 pointer arguments to function
with 3 pointer arguments.
Diffstat (limited to 'gcc/config/aarch64/aarch64-sve-builtins.cc')
-rw-r--r-- | gcc/config/aarch64/aarch64-sve-builtins.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/aarch64/aarch64-sve-builtins.cc b/gcc/config/aarch64/aarch64-sve-builtins.cc index bc92213..27be8b9 100644 --- a/gcc/config/aarch64/aarch64-sve-builtins.cc +++ b/gcc/config/aarch64/aarch64-sve-builtins.cc @@ -3913,7 +3913,7 @@ gt_pch_nx (function_instance *) } inline void -gt_pch_nx (function_instance *, void (*) (void *, void *), void *) +gt_pch_nx (function_instance *, void (*) (void *, void *, void *), void *) { } |