[bfin] Fix an bug in the implementation of hardware loop

Jie Zhang jzhang918@gmail.com
Tue Jun 13 07:58:00 GMT 2006


There is a possible bug in the hardware loop code of bfin port. I
encountered an internal error when building our internal maintained
GCC 4.1 toolchain today, which has the hardware loop patch installed.
I traced down to a bug in hardware loop code. recog_memoized () should
only be called for a real instruction. This patch should fix it.

Is it OK?

Jie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bfin-gcc-hardware-loop-bug-fix.diff
Type: text/x-patch
Size: 673 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20060613/b5b7d334/attachment.bin>


More information about the Gcc-patches mailing list