www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 11450] New: Compiler crashes (assertion failure) when using -inline option

reply d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11450

           Summary: Compiler crashes (assertion failure) when using
                    -inline option
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Severity: critical
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: atila.neves gmail.com


--- Comment #0 from Atila Neves <atila.neves gmail.com> 2013-11-06 02:47:58 PST
---
Created an attachment (id=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

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 06 2013
next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11450


Dicebot <public dicebot.lv> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |public dicebot.lv


--- Comment #1 from Dicebot <public dicebot.lv> 2013-11-06 05:42:22 PST ---
As I have mentioned, compiles with no crash/error in released 2.064

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 06 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11450



--- Comment #2 from Atila Neves <atila.neves gmail.com> 2013-11-06 06:10:51 PST
---
(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. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 06 2013
prev sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11450


Dicebot <public dicebot.lv> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE


--- Comment #3 from Dicebot <public dicebot.lv> 2013-11-06 06:28:50 PST ---
*** This issue has been marked as a duplicate of issue 9158 ***

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 06 2013