Testcase:
int f(int *a)
{
  asm("%y0" : "=m"(a[2]) );
}

This should instead produce an error with recommending the Z constraint.


-- 
           Summary: ICE with invalid %y operand (inline-asm)
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
GCC target triplet: powerpc*-*-*


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31568

Reply via email to