Blackfin: Fix problem in hardware loop discovery code

Bernd Schmidt bernds_cb1@t-online.de
Thu Mar 5 15:27:00 GMT 2009


I ran across a testcase that made the compiler segfault while doing
hardware loop optimization.  When discovering suitable loops, we have
code to retry a bad loop with certain basic blocks added, but this
attempt to retry can fail.  If that happens, we must record the loop as
bad to prevent an attempt to optimize it later.

Committed as 144645.


Bernd
-- 
This footer brought to you by insane German lawmakers.
Analog Devices GmbH      Wilhelm-Wagenfeld-Str. 6      80807 Muenchen
Sitz der Gesellschaft Muenchen, Registergericht Muenchen HRB 40368
Geschaeftsfuehrer Thomas Wessel, William A. Martin, Margaret Seif


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: retry-loop.diff
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20090305/9cf3c2e7/attachment.ksh>


More information about the Gcc-patches mailing list