[Bug d/97842] New: ice compiling dxml

alex at sunopti dot com gcc-bugzilla@gcc.gnu.org
Mon Nov 16 00:45:22 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97842

            Bug ID: 97842
           Summary: ice compiling dxml
           Product: gcc
           Version: 10.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: d
          Assignee: ibuclaw at gdcproject dot org
          Reporter: alex at sunopti dot com
  Target Milestone: ---

Created attachment 49566
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49566&action=edit
The source for dxml to repro the bug.

Internal compiler error when compiling dxml library, using gdc 10.2.0 on debian
testing.

Note : Dxml needs a modification to the standard library to expose source
property in std.util.ByCodeUnitImpl

sudo nano '/usr/lib/gcc/x86_64-linux-gnu/10/include/d/std/utf.d'
Insert at line 3333 :
auto source() const { return str; }

gdc -funittest dxml/parser.d


More information about the Gcc-bugs mailing list