Re: Incorrect code generation while passing address of char parameter
Shekhar Divekar wrote: (insn 5 4 6 0x0 (set (reg/v:SI 71) (ashiftrt:SI (reg/v:SI 71) (const_int 24 [0x18]))) -1 (nil) (nil)) This looks suspect. You shouldn't be using the same input and output pseudo regs here. You should instead generate a temporary for the output
Incorrect code generation while passing address of char parameter
Hi, I am working on GCC 3.3.1 port. The architecture mostly based on RISC architecture. Here is the problem. After compiling following code -- void g(char *a); f(char c) { g(&c); } - The in the generated RTL (file.c.00.rtl) I see inc