------- Comment #4 from hubicka at gcc dot gnu dot org  2008-09-04 10:52 -------
Ugly -fPIC friendly workaround would be to add runtime initialization.  I.E.

if (!initialized)
 {populate my array; initialized = true;}
that would still allow conversion to happen and generate better code than
expand_switch.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36881

Reply via email to