This is the mail archive of the gcc-help@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]

How can pass arguments in registers in GCC?


I defined macro FUNCTION_ARG and other macros in section "Passing Arguments in Registers" of GCCInt to pass args in regs. It compiled OK, but when I use the number of args greater than the number regs in macro FUNCTION_ARG_REGNO_P, it crashes with notice: "internal compiler error: Segmentation fault". How can I fixed this bug?
Thanks so much for your help.

Le Ton Chanh 
email:letonchanh at yahoo dot com


      


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