https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85449
--- Comment #2 from Tamar Christina <tnfchris at gcc dot gnu.org> --- The latest master seems to not trigger the problematic specializations. Instead check out commit d7ddbf366197605642f725cce6165dfb179a114e and then a normal CFLAGS="-O3 -w -save-temps" ./configure make make check should show the issues. For me using an x86_64 build of trunk I get ================================================================= api/test_dump.c ================================================================= Segmentation fault (core dumped) ================================================================= api/test_dump_callback.c ================================================================= test_dump_callback.c:run_tests:44: json_dumps failed ================================================================= api/test_object.c ================================================================= Segmentation fault (core dumped) and the dump.s file produced shows the error.