[Bug tree-optimization/84011] Optimize switch table with run-time relocation
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jan 24 14:27:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84011
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Well, we'd need a target hook for these weirdo targets that don't support them
at all (spu, anything else?), and for the rest, perhaps we should think of
something better. E.g. if not just some elements of the array return
null_pointer_node, but all of them, perhaps we could emit in the array content
value - array instead of value and then add array to whatever we load from the
array.
More information about the Gcc-bugs
mailing list