arguements used in .c.26.flow2 are not used in assembly codes

2005-09-22 Thread Liu Haibin
Hi, I compiled the following code using nios gcc -da -O3 (gcc version 3.3.3) #include #define PI (4*atan(1)) double rad2deg(double rad) { return (180.0 * rad / (PI)); } The begining of the .s file is rad2deg: addisp, sp, -16 stw fp, 8(sp) mov r6

Re: arguements used in .c.26.flow2 are not used in assembly codes

2005-09-22 Thread Ian Lance Taylor
Liu Haibin <[EMAIL PROTECTED]> writes: > I compiled the following code using nios gcc -da -O3 (gcc version 3.3.3) > > #include > #define PI (4*atan(1)) > > double rad2deg(double rad) > { > return (180.0 * rad / (PI)); > } > > The begining of the .s file is > rad2deg: > addi