I saw that but decided to ignore it. On Wed, 16 Jun 2021 at 12:14, D. Hugh Redelmeier <[email protected]> wrote:
> New commits: > commit a8fe696f67534be498e730c45f5337edc153ec1a > Author: D. Hugh Redelmeier <[email protected]> > Date: Wed Jun 16 12:07:33 2021 -0400 > > pluto: ikev2_ts.c: convert large const by-value parameters to by-ref > > Coverity complains about pointlessly copying large (1k) parameters. > It's right. Thank "const" for making this transformation evident. > > Wishful thinking: a compiler ought to be able to do this > transformation. > > What makes you think the compiler can't eliminate this? It is 2021 after all. The function's static so it doesn't even need LTO.
_______________________________________________ Swan-commit mailing list [email protected] https://lists.libreswan.org/mailman/listinfo/swan-commit
