This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
How can pass arguments in registers in GCC?
- From: Le Ton Chanh <letonchanh at yahoo dot com>
- To: GCC Help <gcc-help at gcc dot gnu dot org>
- Date: Sun, 26 Oct 2008 21:43:54 -0700 (PDT)
- Subject: 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