www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 13514] New: Druntime no longer builds with -g

https://issues.dlang.org/show_bug.cgi?id=13514

          Issue ID: 13514
           Summary: Druntime no longer builds with -g
           Product: D
           Version: D2
          Hardware: x86
                OS: Windows
            Status: NEW
          Keywords: ice
          Severity: regression
          Priority: P1
         Component: DMD
          Assignee: nobody puremagic.com
          Reporter: thecybershadow gmail.com

Introduced in https://github.com/D-Programming-Language/druntime/pull/958.

After the above pull, Druntime no longer builds if -g is added to the build
flags.

Reduced test case:

/////// test.d ///////
struct __c_long_double
{
    this(double ) { }
    double ld;
}

//////////////////////

Run: dmd -c -g config.d

Compiler segfaults.

--
Sep 20 2014