<div dir="ltr">There's nothing to fix. It's the just optimizer telling you it'd rather not inline a function that was declared inline. Which is fine, it doesn't affect correctness.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Apr 29, 2020 at 8:32 PM Hal Murray <<a href="mailto:hmurray@megapathdsl.net">hmurray@megapathdsl.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
What's the right fix for this?<br>
gcc (GCC) 10.0.1 20200328 (Red Hat 10.0.1-0.11)<br>
<br>
../../libaes_siv/aes_siv.c: In function â€˜AES_SIV_EncryptFinal’:<br>
../../libaes_siv/aes_siv.c:385:19: warning: inlining failed in call to <br>
‘do_s2v_p’: --param max-inline-insns-single limit reached [-Winline]<br>
  385 | static inline int do_s2v_p(AES_SIV_CTX *ctx, block *out,<br>
      |                   ^~~~~~~~<br>
../../libaes_siv/aes_siv.c:470:21: note: called from here<br>
  470 |         if(UNLIKELY(do_s2v_p(ctx, &q, plaintext, len) != 1)) {<br>
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
../../libaes_siv/aes_siv.c:52:41: note: in definition of macro â€˜UNLIKELY’<br>
   52 | #define UNLIKELY(cond) __builtin_expect(cond, 0)<br>
      |                                         ^~~~<br>
../../libaes_siv/aes_siv.c: In function â€˜AES_SIV_DecryptFinal’:<br>
../../libaes_siv/aes_siv.c:385:19: warning: inlining failed in call to <br>
‘do_s2v_p’: --param max-inline-insns-single limit reached [-Winline]<br>
  385 | static inline int do_s2v_p(AES_SIV_CTX *ctx, block *out,<br>
      |                   ^~~~~~~~<br>
../../libaes_siv/aes_siv.c:513:21: note: called from here<br>
  513 |         if(UNLIKELY(do_s2v_p(ctx, &t, out, len) != 1)) {<br>
  513 |         if(UNLIKELY(do_s2v_p(ctx, &t, out, len) != 1)) {<br>
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
../../libaes_siv/aes_siv.c:52:41: note: in definition of macro â€˜UNLIKELY’<br>
   52 | #define UNLIKELY(cond) __builtin_expect(cond, 0)<br>
      |                                         ^~~~<br>
<br>
<br>
-- <br>
These are my opinions.  I hate spam.<br>
<br>
<br>
<br>
</blockquote></div>