www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 11419] New: Compile crash when add -inline option.

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

           Summary: Compile crash when add -inline option.
           Product: D
           Version: unspecified
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: nyrigadake38 gmail.com



Overview:
After compile crash when add -inline option.
but,Succsess compile at use plain option.

Steps to Reproduce:

Attention.I unconcerned DCD project.

I can't good write english.
so I write example.

it's interactive shell script code.

Preparation

git clone https://github.com/Hackerpilot/DCD.git
cd DCD
git clone https://github.com/msgpack/msgpack-d.git
git clone https://github.com/Hackerpilot/Dscanner.git dscanner
dmd -wi client.d messages.d msgpack-d/src/msgpack.d -Imsgpack-d/src
-ofdcd-client

Done preparation

dmd -wi -g server.d modulecache.d actypes.d messages.d constants.d acvisitor.d
autocomplete.d dscanner/stdx/d/ast.d dscanner/stdx/d/parser.d
dscanner/stdx/d/lexer.d dscanner/stdx/d/entities.d dscanner/formatter.d
msgpack-d/src/msgpack.d -Imsgpack-d/src -Idscanner/ -ofdcd-server

ok.compile succsess.

dmd -wi -g -inline server.d modulecache.d actypes.d messages.d constants.d
acvisitor.d autocomplete.d dscanner/stdx/d/ast.d dscanner/stdx/d/parser.d
dscanner/stdx/d/lexer.d dscanner/stdx/d/entities.d dscanner/formatter.d
msgpack-d/src/msgpack.d -Imsgpack-d/src -Idscanner/ -ofdcd-server

abort dmd !
error message.

dmd: glue.c:783: virtual void FuncDeclaration::toObjFile(int): Assertion
`!vthis->csym' failed.
[1]    25072 abort      dmd -wi -g -inline server.d modulecache.d actypes.d
messages.d constants.d

over.

Build Date & Platform:
DMD64 D Compiler v2.063.2
sunrise overlay ebuild package.

Additional Builds and Platforms:

Intel(R) Core(TM) i5-3570 CPU   3.40GHz GenuineIntel GNU/Linux

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


safety0ff.bugz <safety0ff.bugz gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |safety0ff.bugz gmail.com
         Resolution|                            |DUPLICATE



02:56:56 PDT ---
*** This issue has been marked as a duplicate of issue 11377 ***

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




Sorry,miss.
Two heavy Contributor.

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