[Bug target/93808] [11/12/13/14 Regression] [SH] Ruby crashes with 'Illegal Instruction' with -fcrossjumping
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93808 --- Comment #38 from John Paul Adrian Glaubitz --- (In reply to Oleg Endo from comment #37) > (In reply to John Paul Adrian Glaubitz from comment #32) > > (In reply to John Paul Adrian Glaubitz from comment #31) > > > 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. > > > > Traps also didn't trigger with -O1 and -fno-cross-jumping. > > Adrian, what happened to this issue in the end? Do you remember? Ruby is still being built with -fno-crossjumping on sh4. Let me check, whether we can drop the flag nowadays with Ruby 3.1 and gcc-13.
[Bug target/93808] [11/12/13/14 Regression] [SH] Ruby crashes with 'Illegal Instruction' with -fcrossjumping
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93808 Oleg Endo changed: What|Removed |Added CC||olegendo at gcc dot gnu.org --- Comment #37 from Oleg Endo --- (In reply to John Paul Adrian Glaubitz from comment #32) > (In reply to John Paul Adrian Glaubitz from comment #31) > > 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. > > Traps also didn't trigger with -O1 and -fno-cross-jumping. Adrian, what happened to this issue in the end? Do you remember?
[Bug target/93808] [11/12/13/14 Regression] [SH] Ruby crashes with 'Illegal Instruction' with -fcrossjumping
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93808 Richard Biener changed: What|Removed |Added Target Milestone|10.5|11.5 --- Comment #36 from Richard Biener --- GCC 10 branch is being closed.