Brian Drummond wrote:

The attached patch is intended to allow the simulation to return
in a more conventional manner : can you try it and report?

This may be better : it should leave the main simulation loop
rather than attempting to continue after the error.

No change seen after applying that patch, see test log below.
I haven't had time to dig into why nothing changed.

That aside, I also think it important to print the line-number-of-overflow information. [ said without having dug into the exception code to see if that should happen elsewhere along the way ]

The bug16872 ticket shows the ghdl-gcc version as printing the following useful message:
 ./bug:error: bound check failure at bug.vhd:23

-Brian

test log:

C:\Ghdl\testsuite\testsuite\gna\bug16782>ghdl -v
GHDL 0.31 (20140108) [Dunoon edition] +Patch for Integer Overflow Message
Compiled with GNAT Version: GPL 2013 (20130314)
mcode code generator
<snip>

C:\Ghdl\testsuite\testsuite\gna\bug16782>ghdl -r bug

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.



_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss

Reply via email to