https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105234

--- Comment #1 from Khem Raj <raj.khem at gmail dot com> ---
here is another testcase from gnupg on mips with gcc12 failing

$ mips-yoe-linux-gcc dirmngr.i 
In file included from
/mnt/b/yoe/master/build/tmp/work/mips32r2-yoe-linux/gnupg/2.3.4-r0/recipe-sysroot/usr/include/string.h:535,
                 from ../../gnupg-2.3.4/dirmngr/dirmngr.c:29:
/mnt/b/yoe/master/build/tmp/work/mips32r2-yoe-linux/gnupg/2.3.4-r0/recipe-sysroot/usr/include/bits/string_fortified.h:
In function 'start_connection_thread':
/mnt/b/yoe/master/build/tmp/work/mips32r2-yoe-linux/gnupg/2.3.4-r0/recipe-sysroot/usr/include/bits/string_fortified.h:57:42:
error: inlining failed in call to 'always_inline' 'memset': target specific
option mismatch
   57 | __NTH (memset (void *__dest, int __ch, size_t __len))
      |                                          ^~~~~~
../../gnupg-2.3.4/dirmngr/dirmngr.c:2183:3: note: called from here
 2183 |   memset (&argval, 0, sizeof argval);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Reply via email to