https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92902
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- This is a target specific issue. That is each target decides where to put the jump table. On some targets, it is already done not in the text section but the rodata section. It seems like sparc is not one of those. the SPARC back-end does not get much attention these days as oracle has moved away from sparc really.