[Bug 10] ARM: runnable/opover2.d fails: xopEquals fallback aborts instead of throwing Exception

gdc-bugzilla at gdcproject.org gdc-bugzilla at gdcproject.org
Sat Feb 15 04:53:46 PST 2014


http://bugzilla.gdcproject.org/show_bug.cgi?id=10

--- Comment #17 from Iain Buclaw <ibuclaw at gdcproject.org> 2014-02-15 12:53:46 GMT ---
(In reply to comment #16)
> Here's also a reduced test case:
> (compile with -frelease)
> -------------------------
> nothrow void main()
> {
>     throw new Error("Fail");
> }
> -------------------------
> ./test
> [1]    654 abort (core dumped)  ./test
> 
> This really happens in all cases where a nothrow function throws something.
> 
> 

It's called unrecoverable for a reason. :o)

I do wonder if there's perhaps something more we can do in our deh
implementation rather than just abort... This is something that we need to
think about along with some other details that need attending in gcc.deh (the
OOM loop problem, exception chaining).

> Fixed in
> https://github.com/D-Programming-GDC/GDC/commit/e25e4d0fba7b97d8ba6ec333d1cea003987d06d6
> 
> BTW: @Iain if you want to run the test suite on your ARM box it should pass
> now! And all unit tests should pass as well except for
> std.math.internal.gammafunction.


Thanks!

-- 
Configure bugmail: http://bugzilla.gdcproject.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the D.gnu mailing list