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

            Bug ID: 121477
           Summary: d: internal compiler error: in expand_asm_stmt, at
                    cfgexpand.cc:3445
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: d
          Assignee: ibuclaw at gdcproject dot org
          Reporter: ibuclaw at gcc dot gnu.org
  Target Milestone: ---

Requires -fpreview=bitfields to turn on the D bitfields feature. 
---
struct S { int x : 4; }
void f(S s)
{
    asm {"%0" :: "m" (s.x); }
}

Reply via email to