This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/57583] large switches with jump tables are horribly broken on m68k
- From: "glaubitz at physik dot fu-berlin.de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 02 Jan 2017 19:11:59 +0000
- Subject: [Bug target/57583] large switches with jump tables are horribly broken on m68k
- Auto-submitted: auto-generated
- References: <bug-57583-4@http.gcc.gnu.org/bugzilla/>
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.