Bug 11450 – Compiler crashes (assertion failure) when using -inline option

Status
RESOLVED
Resolution
DUPLICATE
Severity
critical
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2013-11-06T02:47:00Z
Last change time
2013-11-06T06:28:50Z
Assigned to
nobody
Creator
atila.neves

Attachments

IDFilenameSummaryContent-TypeSize
1288inline_bug_source.tgzSource code to reproduce the bug aboveapplication/x-compressed-tar5691

Comments

Comment #0 by atila.neves — 2013-11-06T02:47:58Z
Created attachment 1288 Source code to reproduce the bug above I tried to isolate it but this is as short as I could make it. I attached dmd -c -inline cerealiser.d broker.d dmd: glue.c:783: virtual void FuncDeclaration::toObjFile(int): Assertion `!vthis->csym' failed. zsh: abort (core dumped) dmd -c -inline cerealiser.d broker.d It doesn't happen without the -inline option
Comment #1 by public — 2013-11-06T05:42:22Z
As I have mentioned, compiles with no crash/error in released 2.064
Comment #2 by atila.neves — 2013-11-06T06:10:51Z
(In reply to comment #1) > As I have mentioned, compiles with no crash/error in released 2.064 It does? Oh sorry, must have missed that in the forum discussion.
Comment #3 by public — 2013-11-06T06:28:50Z
*** This issue has been marked as a duplicate of issue 9158 ***