note on version:
the source suggests this bug even exists in trunk as of rev 151996

while compiling:

asm volatile (\
    "mov.w  %1,r0\n\t"\
    "mulu.w %2,r0\n\t"\
<snip>
    "adc.w  #0,r2\n\t" \
    :"=R13" (yyl), "=R02" (yyh) \
    :"o"(xxa),"o"(xxb) \
    :"a0"
    );
i get:
unrecognized R constraint: R13
src/libc.c: In function ‘myfunc’:
src/libc.c:955: internal compiler error: in m32c_reg_class_from_constraint, at
config/m32c/m32c.c:699

http://gcc.gnu.org/onlinedocs/gcc/Machine-Constraints.html#Machine-Constraints
says:
R02
    $r0 or $r2, or $r2r0 for 32 bit values.
R13
    $r1 or $r3, or $r3r1 for 32 bit values.
while
http://gcc.gnu.org/viewcvs/trunk/gcc/config/m32c/m32c.h?view=markup
suggests
R02 R03 R23 are supported 
but R13 is nowhere in the file
(R03 and R23 are there but not documented in the doc above?)


-- 
           Summary: unrecognized R constraint: R13
           Product: gcc
           Version: 4.3.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: eightdot at hotmail dot com
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: m32c-unknown-elf


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

Reply via email to