[Bug c/106683] New: internal compiler error for unusua inline assembly constraint

ntysdd at qq dot com gcc-bugzilla@gcc.gnu.org
Fri Aug 19 06:59:35 GMT 2022


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

            Bug ID: 106683
           Summary: internal compiler error for unusua inline assembly
                    constraint
           Product: gcc
           Version: 9.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ntysdd at qq dot com
  Target Milestone: ---

The code below causes internal compiler error for gcc 9.4.0

int main()
{
    char p[8];
    __asm__ __volatile__ (
            "movq $0, %0"
            : "=g"(*(char(*)[])(&p)));
}


More information about the Gcc-bugs mailing list