http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46041
--- Comment #2 from Richard Henderson <rth at gcc dot gnu.org> 2010-10-15 23:01:19 UTC --- I think the easiest solution is to simply do switch (mode) { case SFmode: #ifdef HAVE_fmasf4 return HAVE_fmasf4; #endif break; ... } return false; instead of the optab_handler lookup.