http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52918
--- Comment #5 from B. Scott Michel <bscottm at ieee dot org> 2012-04-10 21:31:13 UTC --- I deduced that add_bb_to_loop and a null bb->loop_father meant that the enclosing basic block was either missing or incorrectly annotated. The fix, however, is not obvious without getting heavily involved in gcc development. Preprocessed source uploaded for additional insight.