https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77748
--- Comment #6 from Andreas Schwab <sch...@linux-m68k.org> --- On m68k it crashes here: Program received signal SIGSEGV, Segmentation fault. __GI_memcmp (s1=0x0, s2=0x0, len=2285895680) at memcmp.c:333 333 memcmp.c: No such file or directory. (gdb) up #1 0x8000093c in std::char_traits<char>::compare (p3=<optimized out>, p2=<optimized out>) at ../gcc/testsuite/g++.dg/pr77550.C:221 221 return __builtin_memcmp(0, p2, p3); With the change in #c5 it runs successfully.