Author Topic: Testcase for trap with GCC 11.1 build  (Read 131 times)

Rob

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Testcase for trap with GCC 11.1 build
« 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