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

            Bug ID: 103149
           Summary: cc1: error: inconsistent operand constraints in an
                    'asm'
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asolokha at gmx dot com
  Target Milestone: ---
            Target: aarch64-linux-gnu

gcc-12.0.0-alpha20211107 snapshot (g:962ff7d2849e1fa6a1fe0535aa2dec5c2b9a32a6)
ICEs when compiling the following testcase w/ -march=armv8-a+sve -O2
-fharden-conditional-branches -fno-tree-scev-cprop:

void
foo (int *p)
{
  while (*p < 1)
    ++*p;
}

% aarch64-linux-gnu-gcc-12.0.0 -march=armv8-a+sve -O2
-fharden-conditional-branches -fno-tree-scev-cprop -c fzbx3mly.c
In function 'foo':
cc1: error: inconsistent operand constraints in an 'asm'

fzbx3mly.c.338t.statistics is the last non-empty dump,
fzbx3mly.c.339t.earlydebug and fzbx3mly.c.340t.debug are indeed empty.

Reply via email to