[Bug target/12305] processor return register saved/restore unnecessarily in leaf function

anilp1 at kpitcummins dot com gcc-bugzilla@gcc.gnu.org
Wed Apr 28 09:29:00 GMT 2004


------- Additional Comments From anilp1 at kpitcummins dot com  2004-04-28 07:26 -------
(In reply to comment #2)
> I can confirm this on the mainline (20031108), looks like sh-linux does do 
the saving or 
> restoring of the return register for some reason.

Hi,

Above mentioned bug is solved in gcc 3.5 mainline (snapshot dated 27-03-2004). 
But this bug is still there in released gcc 3.4.

Can anybody tell me which patch will fix this bug in gcc 3.4 ?

Regards,
Anil Paranjpe


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12305



More information about the Gcc-bugs mailing list