This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]