https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105650
--- Comment #4 from Hongtao.liu <crazylht at gmail dot com> --- > > I think the problem for me is value mismatch in compare of `if (v != cnt) > __builtin_trap();`. Invalid instruction is generated by `__builtin_trap()`. Oh, it's ud2. But still can't reproduce the error with gcc version 13.0.0 20220518 (experimental) (GCC)