This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/57583] large switches with jump tables are horribly broken on m68k


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57583

--- Comment #9 from John Paul Adrian Glaubitz <glaubitz at physik dot fu-berlin.de> ---
(In reply to Mikael Pettersson from comment #8)
> Created attachment 40362 [details]
> patch adding -mlong-jump-table-offsets option for m68k
> 
> This is the crude patch I mentioned in an older comment, forward-ported to
> trunk.  It's only a compile-time option for using long offsets, plus needed
> adjustments here and there.

Sounds good. I can give it a try in the following days or weeks and see if I
can get a C code with such large switch statements compiled.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]