[Issue 3336] New: Attempting to compile this file with the '-g' flag crashes the compiler with an assertion failure.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Sep 20 21:16:11 PDT 2009


http://d.puremagic.com/issues/show_bug.cgi?id=3336

           Summary: Attempting to compile this file with the '-g' flag
                    crashes the compiler with an assertion failure.
           Product: D
           Version: 2.032
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: blood.of.life at gmail.com


--- Comment #0 from Bernard Helyer <blood.of.life at gmail.com> 2009-09-20 21:16:10 PDT ---
File is attached. You don't need to be able to link (and won't be able to), but
compiling it with `dmd main.d -c -g` causes an assertion failure:

    $ dmd main.d -c -g
    dmd: glue.c:958: virtual unsigned int Type::totym(): Assertion `0' failed.
    Aborted

However, using `-gc` works fine:

    $ dmd main.d -c -gc
    $

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


More information about the Digitalmars-d-bugs mailing list