How can pass arguments in registers in GCC?

Ian Lance Taylor iant@google.com
Mon Oct 27 16:57:00 GMT 2008


Le Ton Chanh <letonchanh@yahoo.com> writes:

> 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?

There are too many possibilities for us to tell you what is
happening.  You will need to debug it yourself.

http://gcc.gnu.org/wiki/DebuggingGCC

Ian



More information about the Gcc-help mailing list