diff options
author | Jakub Jelinek <jakub@redhat.com> | 2021-12-13 09:51:17 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2021-12-13 09:51:17 +0100 |
commit | 7ed58b4274c58b11afdb52a3928c6cf2af92e8d0 (patch) | |
tree | 301e46d908c8f89ce632e78cbac60ffe44f780f6 /gcc/ipa-modref.c | |
parent | 3b61f06b2e1e7e72fcb6c0cf3590cb25eb92c4f2 (diff) | |
download | gcc-7ed58b4274c58b11afdb52a3928c6cf2af92e8d0.zip gcc-7ed58b4274c58b11afdb52a3928c6cf2af92e8d0.tar.gz gcc-7ed58b4274c58b11afdb52a3928c6cf2af92e8d0.tar.bz2 |
pch: Small cleanup
> Fixed thusly, compile tested on x86_64-linux, committed to trunk.
Here is a small cleanup. IMHO we should use gt_pointer_operator instead of
specifying manually void (*) (void *, void *) or
void (*) (void *, void *, void *) so that next time we want to change it,
we don't have to trace all the spots. I was afraid it wouldn't work due to
header dependencies, but it works well. gengtype generated files also
use gt_pointer_operator.
2021-12-13 Jakub Jelinek <jakub@redhat.com>
* machmode.h (gt_pch_nx): Use gt_pointer_operator as type of second
argument instead of equivalent void (*) (void *, void *, void *).
* poly-int.h (gt_pch_nx): Likewise.
* wide-int.h (gt_pch_nx): Likewise.
* config/aarch64/aarch64-sve-builtins.cc (gt_pch_nx): Likewise.
Diffstat (limited to 'gcc/ipa-modref.c')
0 files changed, 0 insertions, 0 deletions