OS2 World Community Forum

OS/2, eCS & ArcaOS - Technical => Programming => Topic started by: Rob on May 04, 2021, 02:53:10 am

Title: Testcase for trap with GCC 11.1 build
Post by: Rob on May 04, 2021, 02:53:10 am
https://github.com/wwiv/os2/blob/main/tests/gcc11crash/notes.txt

That has the details and you can copy off those 3 files (or checkout the repo) and then checkout the other sources it needs to compile against from github.  Just edit b.cmd to point to where the rest of the source is checked out to, and it'll try to compile newinit.cpp and hopefully reproduce a trap.

I tried to shorten it, but deleting out code or even just changing the defines on the commandline seems to "fix" the trap.  Not sure where it is.

Hope this helps,
Rob