------- Comment #17 from jvdelisle at gcc dot gnu dot org 2006-11-01 04:56 ------- Jack is right about one thing and I should have noticed this. For that test case we should never get into output_float where we are segfaulting. The handling of nan and inf are handled in the calling function write_float. So optimization is breaking something.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29302