[Bug 271] New: [regression] ICE-on-valid when generating debug info

via D.gnu d.gnu at puremagic.com
Fri Aug 25 00:01:51 PDT 2017


https://bugzilla.gdcproject.org/show_bug.cgi?id=271

            Bug ID: 271
           Summary: [regression] ICE-on-valid when generating debug info
           Product: GDC
           Version: development
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gdc
          Assignee: ibuclaw at gdcproject.org
          Reporter: sebastien.alaiwan at gmail.com

$ cat main.d 
import other;

class C
{
}

$ cat other.d 
import std.path;
auto a = buildPath("A");

$ gdc -g3 main.d 
/usr/lib/gcc/x86_64-linux-gnu/7/include/d/std/utf.d: In function ‘__xopEquals’:
/usr/lib/gcc/x86_64-linux-gnu/7/include/d/std/utf.d:3115:12: internal compiler
error: in force_type_die, at dwarf2out.c:25111
     static struct ByCodeUnitImpl
            ^
0x80c23a force_type_die
        ../../src/gcc/dwarf2out.c:25111
0x80c41b get_context_die
        ../../src/gcc/dwarf2out.c:25025
0x80c41b force_decl_die
        ../../src/gcc/dwarf2out.c:25044
0x8075c7 gen_subprogram_die
        ../../src/gcc/dwarf2out.c:21905
0x801d28 gen_decl_die
        ../../src/gcc/dwarf2out.c:25347
0x802a5e dwarf2out_decl
        ../../src/gcc/dwarf2out.c:25856
0x802ece dwarf2out_function_decl
        ../../src/gcc/dwarf2out.c:25871
0x8687fa rest_of_handle_final
        ../../src/gcc/final.c:4520
0x8687fa execute
        ../../src/gcc/final.c:4562
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the D.gnu mailing list