www.digitalmars.com         C & C++   DMDScript  

D.gnu - [Issue 41] New: gdmd commit suicide when using -femit-templates


             Bug #: 41
           Summary: gdmd commit suicide when using -femit-templates
    Classification: Unclassified
           Product: GDC
           Version: 4.8.x
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gdc
        AssignedTo: ibuclaw gdcproject.org
        ReportedBy: deadalnix gmail.com

a.d :
// Empty

b.d :
module b;

import std.range;

class A {

void foo(A a) {

run : gdmd *.d -femit-templates

/opt/gdc/include/d/4.8.0/std/range.d: In member function 'front':
/opt/gdc/include/d/4.8.0/std/range.d:3681: internal compiler error:
Segmentation fault
0x8ca1df crash_signal
0x61b916 FuncDeclaration::toObjFile(int)
0x6017ef AttribDeclaration::toObjFile(int)
0x600fef StructDeclaration::toObjFile(int)
0x6019ce TemplateInstance::toObjFile(int)
0x61c227 Module::genobjfile(int)
0x60cd9f d_parse_file()
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gdcproject.org/bugzilla> for instructions.

Configure issuemail: http://gdcproject.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all issue changes.
Mar 12 2013