https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87653
--- Comment #1 from Ian Lance Taylor <ian at airs dot com> --- Created attachment 44860 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44860&action=edit Possible patch I can't recreate the problem. Your test program runs fine on my system, once I add a main function that calls main_test_loop. If you can recreate the problem consistently, can you see if this patch fixes it? Thanks.