From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12426 invoked by alias); 9 Jul 2010 01:59:21 -0000 Received: (qmail 9457 invoked by uid 48); 9 Jul 2010 01:59:06 -0000 Date: Fri, 09 Jul 2010 01:59:00 -0000 Message-ID: <20100709015906.9453.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug middle-end/44576] [4.5/4.6 Regression] testsuite/gfortran.dg/zero_sized_1.f90 with huge compile time on prefetching + peeling In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "changpeng dot fang at amd dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-07/txt/msg00952.txt.bz2 ------- Comment #20 from changpeng dot fang at amd dot com 2010-07-09 01:59 ------- I submitted a patch for review to completely fix the problem. The patch is an extension to Christian's speedup.patch. It splits the cost analysis into three small functions and quits further prefetching analysis as long as we know prefetching is not going to be beneficial to the loop. Here is the gcc-patches@ link: http://gcc.gnu.org/ml/gcc-patches/2010-07/msg00734.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44576