This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
CALL_USED_REGISTER
- From: Pierre Mallard <pierremallard at yahoo dot fr>
- To: gcc at gcc dot gnu dot org
- Date: Mon, 16 Sep 2002 11:34:57 +0200 (CEST)
- Subject: CALL_USED_REGISTER
Hi,
I'm trying to port gcc for a cpu using register
windows.
Global registers wich are the same for every windows
musnt be used while calling a function -same as sparc-
But when I put them as CALL_USED_REGISTER, the
compiler output an internal error :
(insn 1056 1053 25 (set (reg:QI 6 r6)
(mem/s:QI (plus:HI (mem/f:HI (plus:HI
(reg/f:HI 12 __stackret_l__)
(const_int 1 [0x1])) 0)
(const_int 9 [0x9])) 14)) -1 (nil)
(nil))
I think it's due to the lack of saving the register on
stack...
But I'm wondering why??
Thanks for any help
Pierre
___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com