This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
instantiate_virtual_regs query
- From: "Daniel Towner" <dant at picochip dot com>
- To: <gcc at gcc dot gnu dot org>
- Date: Thu, 17 Jan 2002 18:48:39 -0000
- Subject: instantiate_virtual_regs query
Hi all,
I am currently involved in writing a port of gcc for a new 16-bit embedded
RISC processor. I have defined a movhi instruction which takes the following
combinations (reg=reg, reg=imm, reg=mem, mem=reg). I am trying to compile
the following code fragment:
void fn(int a) {
int* p = &a;
}
The compiler generates an internal error in instantiate_virtual_regs - am I
missing a crucial instruction pattern?
Thanks,
Dan Towner.
============================================================================
====
Daniel Towner
picoChip Designs Ltd.
Riverside Buildings
108, Walcot Street, BATH, BA1 5BG, UK
+44 (0) 7786 702589