http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46068
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hubicka at gcc dot gnu.org --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-10-18 18:55:18 UTC --- The testcase has 3 basic blocks, one contains the asm goto (for which estimate_num_insns returns 0 because the string is empty), another one is __builtin_unreachable () (obviously it doesn't require code) and the last one is GIMPLE_RETURN (with no return value, again, no code). So overall_size is 0. I'd say either we should not call find_split_points at all if overall_size is 0, or we should nuke that gcc_unreachable () on which it ICEs in consider_split.