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

             Bug #: 53724
           Summary: ICE when using the 'd' asm operand modifier
    Classification: Unclassified
           Product: gcc
           Version: 4.7.1
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: target
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: svfue...@gmail.com


The following gives:
internal compiler error: in print_reg, at config/i386/i386.c:13692

typedef double ymmd __attribute__ ((vector_size (32)));
ymmd func(ymmd p1, ymmd p2)
{
    asm ("vfmadd132pd %1, %d0"
        : "+x" (p1) : "x" (p2));
    return p1;
}

when compiled with "gcc-4.7 -mavx -O2 gcc_asm.c -S -o gcc_asm.S"
using gcc-4.7.real (Debian 4.7.1-1) 4.7.0 on x86_64

Reply via email to