http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48163
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-03-17 12:07:03 UTC --- Created attachment 23690 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23690 gcc47-pr48163-2.patch Patch to fix the wrap_constant ICE. In the (rare) case where a constant is casted to a function pointer and called the constant is VOIDmode, which doesn't work too well with cselib_lookup. Furthermore, there is no point to cselib looking the constant up, we can just add the constant as is.