https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97431
--- Comment #2 from Yoshinori Sato <ysato at users dot sourceforge.jp> --- Since 0x296318e8 is data, we need to investigate where we jumped. The backtrace looks normal, so I think you're getting anomalous jumps when optimizing long_richcompare.