OS/2, eCS & ArcaOS - Technical > Programming

Testcase for trap with GCC 11.1 build

(1/1)

Rob:
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

Navigation

[0] Message Index

Go to full version