https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70387
--- Comment #2 from jwjagersma at gmail dot com --- Created attachment 38077 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38077&action=edit Test case I reduced my code to the bare minimum required to reproduce this issue. Compile with djgpp: "g++ -std=gnu++14 -fnon-call-exceptions -fasynchronous-unwind-tables -o traptest.exe traptest.cpp"