[Bug target/54963] [4.8 Regression] Wrong code generated for libgfortran/generated/eoshift3_8.c on SH

olegendo at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Oct 30 01:04:00 GMT 2012


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

Oleg Endo <olegendo at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #28551|0                           |1
        is obsolete|                            |

--- Comment #6 from Oleg Endo <olegendo at gcc dot gnu.org> 2012-10-30 01:04:10 UTC ---
Created attachment 28567
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28567
Proposed patch

I'm now testing this patch.  It fixes the overlapping reg negdi problem. 
There's a code size increase in CSiBE:

linux-2.4.23-pre3-testplatform
  lib/vsprintf     4776 -> 4820         +44 / +0.921273 %

I haven't checked the details of this case, but I guess this is the price of
correct code ;)



More information about the Gcc-bugs mailing list