warnings from libaes on Fedora 32

Hal Murray hmurray at megapathdsl.net
Thu Apr 30 00:31:57 UTC 2020


What's the right fix for this?
gcc (GCC) 10.0.1 20200328 (Red Hat 10.0.1-0.11)

../../libaes_siv/aes_siv.c: In function ‘AES_SIV_EncryptFinal’:
../../libaes_siv/aes_siv.c:385:19: warning: inlining failed in call to 
‘do_s2v_p’: --param max-inline-insns-single limit reached [-Winline]
  385 | static inline int do_s2v_p(AES_SIV_CTX *ctx, block *out,
      |                   ^~~~~~~~
../../libaes_siv/aes_siv.c:470:21: note: called from here
  470 |         if(UNLIKELY(do_s2v_p(ctx, &q, plaintext, len) != 1)) {
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../libaes_siv/aes_siv.c:52:41: note: in definition of macro ‘UNLIKELY’
   52 | #define UNLIKELY(cond) __builtin_expect(cond, 0)
      |                                         ^~~~
../../libaes_siv/aes_siv.c: In function ‘AES_SIV_DecryptFinal’:
../../libaes_siv/aes_siv.c:385:19: warning: inlining failed in call to 
‘do_s2v_p’: --param max-inline-insns-single limit reached [-Winline]
  385 | static inline int do_s2v_p(AES_SIV_CTX *ctx, block *out,
      |                   ^~~~~~~~
../../libaes_siv/aes_siv.c:513:21: note: called from here
  513 |         if(UNLIKELY(do_s2v_p(ctx, &t, out, len) != 1)) {
  513 |         if(UNLIKELY(do_s2v_p(ctx, &t, out, len) != 1)) {
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../../libaes_siv/aes_siv.c:52:41: note: in definition of macro ‘UNLIKELY’
   52 | #define UNLIKELY(cond) __builtin_expect(cond, 0)
      |                                         ^~~~


-- 
These are my opinions.  I hate spam.





More information about the devel mailing list