digitalmars.D - DMD 2.066 druntime looks broken...
- Iain Buclaw (5/5) Sep 24 2014 I don't know how DMD compiles rt.lifetime successfully.
- Iain Buclaw via Digitalmars-d (4/5) Sep 24 2014 Compiling object_.d and lifetime.d together vs. separate compilation.
- Iain Buclaw via Digitalmars-d (8/13) Sep 24 2014 Another weird one that has me for the moment stumped...
- Joakim (11/29) Sep 24 2014 I ran into this when compiling the 2.066 frontend with ldc HEAD
- Martin Nowak (6/9) Sep 25 2014 Marking asm as throwing by default doesn't make too much sense IMO,
- Iain Buclaw via Digitalmars-d (4/14) Sep 26 2014 OK then:
- Walter Bright (2/3) Sep 25 2014 Not nohow? No way!
I don't know how DMD compiles rt.lifetime successfully. https://github.com/D-Programming-Language/druntime/search?utf8=%E2%9C%93&q=_d_monitordelete It should error with 'undefined identifier _d_monitordelete' - but no, that would be the obvious thing to do. Iain
Sep 24 2014
On 24 September 2014 19:22, Iain Buclaw via Digitalmars-d <digitalmars-d puremagic.com> wrote:I don't know how DMD compiles rt.lifetime successfully.Compiling object_.d and lifetime.d together vs. separate compilation. Separate compilation loses again!
Sep 24 2014
On 24 September 2014 19:22, Iain Buclaw via Digitalmars-d <digitalmars-d puremagic.com> wrote:I don't know how DMD compiles rt.lifetime successfully. https://github.com/D-Programming-Language/druntime/search?utf8=%E2%9C%93&q=_d_monitordelete It should error with 'undefined identifier _d_monitordelete' - but no, that would be the obvious thing to do. IainAnother weird one that has me for the moment stumped... https://github.com/D-Programming-Language/druntime/search?utf8=%E2%9C%93&q=callWithStackShell%28scope&type=Code callWithStackShell is marked nothrow, yet it's delegate parameter 'fn' is not nothrow! Bonus points, D inline assembly in a nothrow function. Iain.
Sep 24 2014
On Wednesday, 24 September 2014 at 21:35:44 UTC, Iain Buclaw via Digitalmars-d wrote:On 24 September 2014 19:22, Iain Buclaw via Digitalmars-d <digitalmars-d puremagic.com> wrote:I ran into this when compiling the 2.066 frontend with ldc HEAD for linux/arm, but not for linux/x86. I figured it was some strange issue with ARM and worked around it by labeling "fn" as nothrow, then the actual function "op" passed to it in thread_suspendHandler as nothrow, and finally removing the commented out nothrow at the top of core.sys.posix.signal. That finally shut it up, and the tests passed too. So at least ldc seems to detect it as an error on certain arches! ;)I don't know how DMD compiles rt.lifetime successfully. https://github.com/D-Programming-Language/druntime/search?utf8=%E2%9C%93&q=_d_monitordelete It should error with 'undefined identifier _d_monitordelete' - but no, that would be the obvious thing to do. IainAnother weird one that has me for the moment stumped... https://github.com/D-Programming-Language/druntime/search?utf8=%E2%9C%93&q=callWithStackShell%28scope&type=Code callWithStackShell is marked nothrow, yet it's delegate parameter 'fn' is not nothrow! Bonus points, D inline assembly in a nothrow function.
Sep 24 2014
On 09/24/2014 11:35 PM, Iain Buclaw via Digitalmars-d wrote:callWithStackShell is marked nothrow, yet it's delegate parameter 'fn' is not nothrow!https://github.com/D-Programming-Language/druntime/pull/966Bonus points, D inline assembly in a nothrow function.Marking asm as throwing by default doesn't make too much sense IMO, because it's fairly difficult to throw from iasm (never seen it) and the main point about iasm is full control. So why not simply trust the programmer decision here?
Sep 25 2014
On 26 September 2014 01:32, Martin Nowak via Digitalmars-d <digitalmars-d puremagic.com> wrote:On 09/24/2014 11:35 PM, Iain Buclaw via Digitalmars-d wrote:OK then: https://github.com/D-Programming-Language/dmd/pull/4030callWithStackShell is marked nothrow, yet it's delegate parameter 'fn' is not nothrow!https://github.com/D-Programming-Language/druntime/pull/966Bonus points, D inline assembly in a nothrow function.Marking asm as throwing by default doesn't make too much sense IMO, because it's fairly difficult to throw from iasm (never seen it) and the main point about iasm is full control. So why not simply trust the programmer decision here?
Sep 26 2014
On 9/24/2014 2:35 PM, Iain Buclaw via Digitalmars-d wrote:delegate parameter 'fn' is not nothrow!Not nohow? No way!
Sep 25 2014