February 15, 2014 [Bug 10] ARM: runnable/opover2.d fails: xopEquals fallback aborts instead of throwing Exception | ||||
---|---|---|---|---|
| ||||
http://bugzilla.gdcproject.org/show_bug.cgi?id=10 Johannes Pfau <johannespfau@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #16 from Johannes Pfau <johannespfau@gmail.com> 2014-02-15 11:17:08 GMT --- 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. 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. -- Configure bugmail: http://bugzilla.gdcproject.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes. |
February 15, 2014 [Bug 10] ARM: runnable/opover2.d fails: xopEquals fallback aborts instead of throwing Exception | ||||
---|---|---|---|---|
| ||||
http://bugzilla.gdcproject.org/show_bug.cgi?id=10 --- Comment #17 from Iain Buclaw <ibuclaw@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. |
February 15, 2014 [Bug 10] ARM: runnable/opover2.d fails: xopEquals fallback aborts instead of throwing Exception | ||||
---|---|---|---|---|
| ||||
http://bugzilla.gdcproject.org/show_bug.cgi?id=10 --- Comment #18 from Johannes Pfau <johannespfau@gmail.com> 2014-02-15 19:55:53 GMT --- > It's called unrecoverable for a reason. :o) I actually thought about that as well but I think people will just blame GDC if we're the only compiler were Errors are really unrecoverable.... > I do wonder if there's perhaps something more we can do in our deh implementation rather than just abort.. I'm not sure if we can change it in the deh implementation but we could rewrite all throw statements in nothrow code. The only cases where this wouldn't help is when the users casts a 'throw' delegate to a 'nothrow' one. However, casts are undefined behavior anyway... -- Configure bugmail: http://bugzilla.gdcproject.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes. |
February 26, 2014 [Bug 10] ARM: runnable/opover2.d fails: xopEquals fallback aborts instead of throwing Exception | ||||
---|---|---|---|---|
| ||||
Attachments:
| http://bugzilla.gdcproject.org/show_bug.cgi?id=10 --- Comment #19 from Andrei Alexandrescu <andrei@erdani.com> --- Payment made. We consider it a vote of confidence for the great work on this project. Congratulations and keep up the good work! -- You are receiving this mail because: You are watching all bug changes. |
Copyright © 1999-2021 by the D Language Foundation