Marc Poulhiès <poulh...@adacore.com> writes: > gcc/ChangeLog: > > * config/aarch64/aarch64-ldp-fusion.cc (struct aarch64_pair_fusion): > Use new type name. > --- > My previous change fixed the generic code, but I forgot to adjust the > overload in aarch64. > > I don't have an aarch64 setup to check it fixes the build, but will set it up > later. Unless it's > OK to apply it as it's easy enough.
I've tested locally and it builds correctly, so ok now. Thanks, Richard > Marc > > gcc/config/aarch64/aarch64-ldp-fusion.cc | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/gcc/config/aarch64/aarch64-ldp-fusion.cc > b/gcc/config/aarch64/aarch64-ldp-fusion.cc > index 0af927231d3..b255dcbe73c 100644 > --- a/gcc/config/aarch64/aarch64-ldp-fusion.cc > +++ b/gcc/config/aarch64/aarch64-ldp-fusion.cc > @@ -75,9 +75,9 @@ struct aarch64_pair_fusion : public pair_fusion > return aarch64_ldp_alias_check_limit; > } > > - bool should_handle_writeback (enum writeback which) override final > + bool should_handle_writeback (writeback_type which) override final > { > - if (which == writeback::ALL) > + if (which == writeback_type::ALL) > return aarch64_ldp_writeback > 1; > else > return aarch64_ldp_writeback;