Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > openwatcom.users.c_cpp > #3484
| From | Paul S. Person <psperson@ix.netscom.com.invalid> |
|---|---|
| Newsgroups | openwatcom.users.c_cpp |
| Subject | Re: Dead code elimination |
| Date | 2017-03-10 09:53 -0800 |
| Organization | OpenWatcom |
| Message-ID | <7tp5cc9570vdp08io08fc1ase71m565d17@4ax.com> (permalink) |
| References | <o9vang$vp9$1@www.openwatcom.org> |
On Fri, 10 Mar 2017 10:54:43 -0500, "Byron Blue" <byronblue@hotmail.com> wrote: >We've recently experienced a issues with our software in the field: Integer >division by zero. When I check the memory map it seems to point to a >function in clib3r.lib(abort.c) called terminate. This area is listed in the >.map file as an unreferenced symbol (not used in our code). Unknown to me >why this would occur but a few screenshots from different customers point to >the same area. >Should I be checking the box in the Linker Switches to Eliminate dead code >[op el]? Is it possible this unused function is causing an issue? Unless you have already done so, you need to use the debugger to find out where that function is called from. Since you will probably find yourself looking at assembly with no debugging info, you will need to back up until you reach your own code. And then see if, by any chance, you actually /are/ dividing by zero. -- "Nature must be explained in her own terms through the experience of our senses."
Back to openwatcom.users.c_cpp | Previous | Next — Previous in thread | Find similar
Dead code elimination "Byron Blue" <byronblue@hotmail.com> - 2017-03-10 10:54 -0500 Re: Dead code elimination Paul S. Person <psperson@ix.netscom.com.invalid> - 2017-03-10 09:53 -0800
csiph-web