https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93808
--- Comment #31 from John Paul Adrian Glaubitz <glaubitz at physik dot fu-berlin.de> --- (In reply to John Paul Adrian Glaubitz from comment #30) > Created attachment 50717 [details] > Build log for ruby 2.5 with Oleg's patch applied Ah, I forgot to add -O1 and -fno-cross-jumping to CFLAGS. Are the builtin_traps() optimized out for -O2? I'm building with the correct flags now.