public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/41456] New: unrecognized R constraint: R13
@ 2009-09-24 7:17 eightdot at hotmail dot com
2009-09-24 20:41 ` [Bug target/41456] " dj at gcc dot gnu dot org
2009-09-24 20:42 ` dj at redhat dot com
0 siblings, 2 replies; 3+ messages in thread
From: eightdot at hotmail dot com @ 2009-09-24 7:17 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1319 bytes --]
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug target/41456] unrecognized R constraint: R13
2009-09-24 7:17 [Bug target/41456] New: unrecognized R constraint: R13 eightdot at hotmail dot com
@ 2009-09-24 20:41 ` dj at gcc dot gnu dot org
2009-09-24 20:42 ` dj at redhat dot com
1 sibling, 0 replies; 3+ messages in thread
From: dj at gcc dot gnu dot org @ 2009-09-24 20:41 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from dj at gcc dot gnu dot org 2009-09-24 20:40 -------
Subject: Bug 41456
Author: dj
Date: Thu Sep 24 20:40:36 2009
New Revision: 152144
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=152144
Log:
PR target/41456
* config/m32c/m32c.h (REG_CLASS_CONTENTS): Add R13.
(reg_class): Likewise.
(REG_CLASS_NAMES): Likewise.
* config/m32c/m32c.c (m32c_reg_class_from_constraint): Likewise.
* config/m32c/m32c.c (m32c_override_options): Disable -fivopts for
M32C.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/m32c/m32c.c
trunk/gcc/config/m32c/m32c.h
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41456
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug target/41456] unrecognized R constraint: R13
2009-09-24 7:17 [Bug target/41456] New: unrecognized R constraint: R13 eightdot at hotmail dot com
2009-09-24 20:41 ` [Bug target/41456] " dj at gcc dot gnu dot org
@ 2009-09-24 20:42 ` dj at redhat dot com
1 sibling, 0 replies; 3+ messages in thread
From: dj at redhat dot com @ 2009-09-24 20:42 UTC (permalink / raw)
To: gcc-bugs
--
dj at redhat dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |dj at redhat dot com
|dot org |
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2009-09-24 20:42:26
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41456
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-09-24 20:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-24 7:17 [Bug target/41456] New: unrecognized R constraint: R13 eightdot at hotmail dot com
2009-09-24 20:41 ` [Bug target/41456] " dj at gcc dot gnu dot org
2009-09-24 20:42 ` dj at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).